mirror of
https://github.com/tildeverse/lobsters
synced 2024-06-20 07:27:05 +00:00
Comment: #url should use story's url, not path
This commit is contained in:
parent
16367dea67
commit
1e47139e42
|
@ -444,7 +444,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 New Issue
Block a user