add builder
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<%= link_to topic.title, forum_topic_path(topic) %>
|
||||
|
||||
<% if topic.response_count > 30 %>
|
||||
<%= link_to "last", forum_topic_path(topic, :page => (topic.response_count / Danbooru.config.posts_per_page.to_f).ceil), :class => "last-page" %>
|
||||
<%= link_to "last", forum_topic_path(topic, :page => topic.last_page, :class => "last-page" %>
|
||||
<% end %>
|
||||
|
||||
<% if topic.is_locked? %>
|
||||
|
||||
Reference in New Issue
Block a user