We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c9c056 commit 45bb4ebCopy full SHA for 45bb4eb
2 files changed
app/routes/gist-base-route.js
@@ -32,6 +32,8 @@ export default Ember.Route.extend({
32
33
showRevision() {},
34
showCurrentVersion() {},
35
- signInViaGithub() {}
+ signInViaGithub() {
36
+ this.send('signInWithGithub');
37
+ }
38
}
39
});
app/routes/gist.js
@@ -99,7 +99,7 @@ export default Ember.Route.extend({
99
100
},
101
102
- signInViaGithub() {
+ signInWithGithub() {
103
this.session.open(this.get('toriiProvider')).catch(function(error) {
104
if (alert) {
105
alert('Could not sign you in: ' + error.message);
0 commit comments