diff options
| author | Yuval Adam <yuval@y3xz.com> | 2015-06-10 15:26:51 +0300 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2015-06-10 15:26:51 +0300 |
| commit | fbd92e7ca12ddcced8b97c6b816f356ffc1ed80c (patch) | |
| tree | 52a657c2af7a262297ead57cd47d66636900aa14 /client/button.js | |
| parent | 249a424970bf066efcd9c3d1b3a40541e6f66843 (diff) | |
Rename some routes
Diffstat (limited to 'client/button.js')
| -rw-r--r-- | client/button.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/client/button.js b/client/button.js index 1ab171e..29eeb91 100644 --- a/client/button.js +++ b/client/button.js @@ -15,16 +15,16 @@ Template.login.events({ } }); -Template.one.helpers({ +Template.photos.helpers({ photos: function () { return Session.get('photos'); } }) Accounts.onLogin(function() { - Meteor.call('getInstagramMedia', function(error, results) { - console.log('Instagram response', results.data) - Session.set('photos', results.data.data); - }); - Router.go('one'); + // Meteor.call('getInstagramMedia', function(error, results) { + // console.log('Instagram response', results.data) + // Session.set('photos', results.data.data); + // }); + Router.go('dates'); }); |
