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