mirror of
https://github.com/discourse/discourse.git
synced 2024-12-23 16:03:45 +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();
|
|
}
|
|
}
|