mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
changed the default sign-in route path from /signin to /sign-in
This commit is contained in:
parent
056dfd1c4c
commit
ff4def6e3f
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