Skip to content

Commit

Permalink
fix: Redirect to login from invoice detail (#5226)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamareebjamal authored Oct 2, 2020
1 parent f55e82b commit 4c209cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/routes/event-invoice/paid.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Route from '@ember/routing/route';
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';

export default class extends Route {
export default class extends Route.extend(AuthenticatedRouteMixin) {

titleToken(model) {
return this.l10n.tVar(`Paid Event Invoice - ${model.get('identifier')}`);
Expand Down
3 changes: 2 additions & 1 deletion app/routes/event-invoice/review.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Route from '@ember/routing/route';
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';

export default class extends Route {
export default class extends Route.extend(AuthenticatedRouteMixin) {
titleToken(model) {
return this.l10n.tVar(`Review Event Invoice - ${model.get('identifier')}`);
}
Expand Down

0 comments on commit 4c209cd

Please sign in to comment.