mirror of
https://github.com/discourse/discourse.git
synced 2024-12-24 06:33:53 +08:00
cbfd596b1b
and call super instead of manually setting model
9 lines
223 B
JavaScript
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();
|
|
}
|
|
}
|