discourse/app/assets/javascripts/admin/routes/admin-plugins.js.es6

12 lines
218 B
JavaScript

export default Ember.Route.extend({
model() {
return Discourse.ajax("/admin/plugins.json");
},
actions: {
showSettings() {
this.transitionTo('adminSiteSettingsCategory', 'plugins');
}
}
});