mirror of
https://github.com/discourse/discourse.git
synced 2025-05-26 04:47:26 +08:00
DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592)
This commit is contained in:
@ -3,7 +3,7 @@ import computed from "ember-addons/ember-computed-decorators";
|
||||
export default Ember.Controller.extend({
|
||||
@computed
|
||||
adminRoutes: function() {
|
||||
return this.get("model")
|
||||
return this.model
|
||||
.map(p => {
|
||||
if (p.get("enabled")) {
|
||||
return p.admin_route;
|
||||
|
Reference in New Issue
Block a user