mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-30 22:41:33 +00:00
5 lines
130 B
Ruby
5 lines
130 B
Ruby
module TopicsHelper
|
|
def lastpost topic
|
|
topic_url(topic, page: topic.last_page, anchor: "post_#{topic.latest.id}")
|
|
end
|
|
end
|