DEV: Use method definition syntax consistently (#14915)

This commit is contained in:
Jarek Radosz
2021-11-13 14:01:55 +01:00
committed by GitHub
parent bdd2c888b0
commit f414d5eace
66 changed files with 109 additions and 109 deletions

View File

@ -3,7 +3,7 @@ import discourseComputed from "discourse-common/utils/decorators";
export default Controller.extend({
@discourseComputed
adminRoutes: function () {
adminRoutes() {
return this.model
.map((p) => {
if (p.get("enabled")) {