mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 18:11:40 -05:00
fixed getUrl helpers bug
This commit is contained in:
parent
d0765e68eb
commit
999966f12e
1 changed files with 3 additions and 3 deletions
|
@ -34,14 +34,14 @@ getDateRange= function(pageNumber){
|
|||
}
|
||||
// ---------------------------------- URL Helper Functions ----------------------------------- //
|
||||
getPostUrl = function(id){
|
||||
return Meteor.absoluteUrl()+'/posts/'+id;
|
||||
return Meteor.absoluteUrl()+'posts/'+id;
|
||||
}
|
||||
getCommentUrl = function(id){
|
||||
return Meteor.absoluteUrl()+'/comments/'+id;
|
||||
return Meteor.absoluteUrl()+'comments/'+id;
|
||||
}
|
||||
getPostCommentUrl = function(postId, commentId){
|
||||
// get link to a comment on a post page
|
||||
return Meteor.absoluteUrl()+'/posts/'+postId+'/comment/'+commentId;
|
||||
return Meteor.absoluteUrl()+'posts/'+postId+'/comment/'+commentId;
|
||||
}
|
||||
getUserUrl = function(id){
|
||||
return Meteor.absoluteUrl()+'users/'+id;
|
||||
|
|
Loading…
Add table
Reference in a new issue