mirror of
https://github.com/discourse/discourse.git
synced 2026-08-13 14:35:08 -05:00
FEATURE: Can edit category/host relationships for embedding
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
export default Ember.Route.extend({
|
||||
model() {
|
||||
return this.store.find('embedding');
|
||||
},
|
||||
|
||||
setupController(controller, model) {
|
||||
controller.set('embedding', model);
|
||||
}
|
||||
});
|
||||
@@ -27,6 +27,7 @@ export default {
|
||||
this.resource('adminUserFields', { path: '/user_fields' });
|
||||
this.resource('adminEmojis', { path: '/emojis' });
|
||||
this.resource('adminPermalinks', { path: '/permalinks' });
|
||||
this.resource('adminEmbedding', { path: '/embedding' });
|
||||
});
|
||||
this.route('api');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user