mirror of
https://github.com/documize/community.git
synced 2025-07-25 08:09:43 +02:00
Add missing super call in routes
This commit is contained in:
parent
329c43eba0
commit
2042454e77
5 changed files with 13 additions and 3 deletions
|
@ -25,6 +25,8 @@ export default Route.extend({
|
|||
},
|
||||
|
||||
setupController(controller, model) {
|
||||
this._super(controller, model);
|
||||
|
||||
controller.set('model', model);
|
||||
controller.set('sayThanks', false);
|
||||
},
|
||||
|
|
|
@ -56,6 +56,8 @@ export default Route.extend({
|
|||
},
|
||||
|
||||
setupController: function (controller, model) {
|
||||
this._super(controller, model);
|
||||
|
||||
controller.set('model', model);
|
||||
controller.reset();
|
||||
},
|
||||
|
|
|
@ -28,6 +28,8 @@ export default Route.extend(AuthenticatedRouteMixin, {
|
|||
},
|
||||
|
||||
setupController(controller, model) {
|
||||
this._super(controller, model);
|
||||
|
||||
controller.set('model', model);
|
||||
controller.set('serial', this.serial);
|
||||
controller.set('slug', this.slug);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue