Logo
Explore Help
Sign In
IntenseWebs/discourse
3
0
Fork 0
You've already forked discourse
mirror of https://github.com/discourse/discourse.git synced 2025-02-25 18:55:32 -06:00
Code Issues Packages Projects Releases Wiki Activity
Files
d0d60ffa8937e399f287834e745917320ba6763e
discourse/app/assets/javascripts/admin/controllers/admin-plugins.js.es6

10 lines
214 B
Plaintext
Raw Normal View History

Fixes some Ember Deprecations for 1.13: - Remove ArrayController - Remove {{view}} from templates - Replace many cases of needs: [‘controller’] with inject - Enable Ember Legacy Views
2016-10-20 13:26:41 -04:00
export default Ember.Controller.extend({
Revert "UX: Observe changes to plugin to hide/show plugin admin link without refresh."
2017-02-09 12:11:53 -05:00
adminRoutes: function() {
return this.get('model').map(p => {
if (p.get('enabled')) {
return p.admin_route;
Fixes some Ember Deprecations for 1.13: - Remove ArrayController - Remove {{view}} from templates - Replace many cases of needs: [‘controller’] with inject - Enable Ember Legacy Views
2016-10-20 13:26:41 -04:00
}
Revert "UX: Observe changes to plugin to hide/show plugin admin link without refresh."
2017-02-09 12:11:53 -05:00
}).compact();
}.property()
FEATURE: New "Plugins" admin section with extensibility support
2015-02-06 17:32:59 -05:00
});
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 98ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API