discourse/app/assets/javascripts/admin/addon/routes/admin-permalinks.js
Jarek Radosz cbfd596b1b
DEV: Remove unnecessary setupController methods (#29592)
and call super instead of manually setting model
2024-11-05 13:17:32 +01:00

9 lines
223 B
JavaScript

import DiscourseRoute from "discourse/routes/discourse";
import Permalink from "admin/models/permalink";
export default class AdminPermalinksRoute extends DiscourseRoute {
model() {
return Permalink.findAll();
}
}