0
0
Fork 0
mirror of https://github.com/ENSL/ensl.org.git synced 2025-01-25 02:31:19 +00:00
ensl.org/app/helpers/topics_helper.rb
2014-06-06 22:37:43 +01:00

5 lines
130 B
Ruby

module TopicsHelper
def lastpost topic
topic_url(topic, page: topic.last_page, anchor: "post_#{topic.latest.id}")
end
end