Comment: #url should use story's url, not path
This commit is contained in:
parent
a3071c22b5
commit
e255915723
|
@ -442,7 +442,7 @@ class Comment < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def url
|
||||
self.story.comments_path + "#c_#{self.short_id}"
|
||||
self.story.comments_url + "#c_#{self.short_id}"
|
||||
end
|
||||
|
||||
def vote_summary_for_user(u)
|
||||
|
|
Loading…
Reference in a new issue