Skip to content

Commit 45bb4eb

Browse files
committed
Fix ability to sign in via github
1 parent 3c9c056 commit 45bb4eb

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

app/routes/gist-base-route.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ export default Ember.Route.extend({
3232

3333
showRevision() {},
3434
showCurrentVersion() {},
35-
signInViaGithub() {}
35+
signInViaGithub() {
36+
this.send('signInWithGithub');
37+
}
3638
}
3739
});

app/routes/gist.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export default Ember.Route.extend({
9999
});
100100
},
101101

102-
signInViaGithub() {
102+
signInWithGithub() {
103103
this.session.open(this.get('toriiProvider')).catch(function(error) {
104104
if (alert) {
105105
alert('Could not sign you in: ' + error.message);

0 commit comments

Comments
 (0)