diff options
Diffstat (limited to 'client/button.js')
| -rw-r--r-- | client/button.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/button.js b/client/button.js index 27beb28..4a9906a 100644 --- a/client/button.js +++ b/client/button.js @@ -178,5 +178,7 @@ Template.photo.helpers({ }) Accounts.onLogin(function() { - Router.go('dates'); + if (Router.current().route.getName() == 'login') { + Router.go('dates'); + } }); |
