mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 04:21:36 +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
|