changed the default sign-in route path from /signin to /sign-in

This commit is contained in:
Sandro Gvelesiani 2014-09-01 00:04:21 -07:00
parent 056dfd1c4c
commit ff4def6e3f

View file

@ -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){