add explicit signin route
This commit is contained in:
parent
ea79bb1625
commit
a63188ae13
|
@ -74,6 +74,7 @@ Router.map(function() {
|
||||||
|
|
||||||
this.route('first_sync');
|
this.route('first_sync');
|
||||||
this.route('insufficient_oauth_permissions');
|
this.route('insufficient_oauth_permissions');
|
||||||
|
this.route('signin');
|
||||||
this.route('auth');
|
this.route('auth');
|
||||||
this.route('home');
|
this.route('home');
|
||||||
this.route('home-pro', { path: '/home-pro' });
|
this.route('home-pro', { path: '/home-pro' });
|
||||||
|
|
15
app/routes/signin.js
Normal file
15
app/routes/signin.js
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
import TravisRoute from 'travis/routes/basic';
|
||||||
|
|
||||||
|
export default TravisRoute.extend({
|
||||||
|
needsAuth: false,
|
||||||
|
|
||||||
|
renderTemplate() {
|
||||||
|
$('body').attr('id', 'auth');
|
||||||
|
return this.render('auth.signin');
|
||||||
|
},
|
||||||
|
|
||||||
|
activate() {
|
||||||
|
return this.auth.signIn();
|
||||||
|
}
|
||||||
|
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user