0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-26 02:50:28 +01:00

Merge pull request #39 from eviltrout/discourse-route

DEV: Discourse.Route has been deprecated
Dieser Commit ist enthalten in:
Angus McLeod 2020-05-13 09:00:28 +10:00 committet von GitHub
Commit 34a556e0bf
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -1,11 +1,12 @@
import CustomWizardLogs from '../models/custom-wizard-logs'; import CustomWizardLogs from '../models/custom-wizard-logs';
import DiscourseRoute from "discourse/routes/discourse";
export default Discourse.Route.extend({ export default DiscourseRoute.extend({
model() { model() {
return CustomWizardLogs.list(); return CustomWizardLogs.list();
}, },
setupController(controller, model) { setupController(controller, model) {
controller.set('logs', model); controller.set('logs', model);
} }
}) })