Skip to content

Commit

Permalink
secure engine
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoow committed Apr 2, 2019
1 parent 1f488a8 commit 91eae4b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/dummy/lib/my-engine/addon/routes/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import Route from '@ember/routing/route';
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';

export default Route.extend(AuthenticatedRouteMixin, {
triggerAuthentication() {
this.transitionToExternal('login');
}
});

0 comments on commit 91eae4b

Please sign in to comment.