mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
Merge pull request #367 from gvelesandro/master
Changed the default sign-in route from /signin to /sign-in
This commit is contained in:
commit
228f1627b7
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ Template[getTemplate('postUpvote')].events({
|
|||
var post = this;
|
||||
e.preventDefault();
|
||||
if(!Meteor.user()){
|
||||
Router.go('/signin');
|
||||
Router.go('/sign-in');
|
||||
throwError(i18n.t("Please log in first"));
|
||||
}
|
||||
Meteor.call('upvotePost', post, function(error, result){
|
||||
|
|
Loading…
Add table
Reference in a new issue