mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-15 17:31:27 +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
|