5
3
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:
joshua stein 2017-04-30 14:32:19 -05:00
parent 16367dea67
commit 1e47139e42

View File

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