diff --git a/app/router.js b/app/router.js index 9ee77a1f..f3dc6022 100644 --- a/app/router.js +++ b/app/router.js @@ -74,6 +74,7 @@ Router.map(function() { this.route('first_sync'); this.route('insufficient_oauth_permissions'); + this.route('signin'); this.route('auth'); this.route('home'); this.route('home-pro', { path: '/home-pro' }); diff --git a/app/routes/signin.js b/app/routes/signin.js new file mode 100644 index 00000000..3ec407f0 --- /dev/null +++ b/app/routes/signin.js @@ -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(); + } + +}); diff --git a/bower.json b/bower.json index 8aa3f50d..5fdfcb84 100644 --- a/bower.json +++ b/bower.json @@ -8,7 +8,7 @@ "ember-load-initializers": "0.1.7", "ember-qunit": "0.4.16", "ember-qunit-notifications": "0.1.0", - "jquery": "^1.11.3", + "jquery": "~1.11.3", "loader.js": "ember-cli/loader.js#3.2.1", "qunit": "~1.20.0", "visibilityjs": "~1.2.1",