mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add a spec for the new plugins controller
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export default Ember.Route.extend({
|
||||
model() {
|
||||
return Discourse.ajax("/admin/plugins.json");
|
||||
return Discourse.ajax("/admin/plugins.json").then(res => res.plugins);
|
||||
},
|
||||
|
||||
actions: {
|
||||
|
||||
Reference in New Issue
Block a user