add builder

This commit is contained in:
albert
2013-02-17 01:45:11 -05:00
parent 6ba9b015e4
commit 029436f23a
2 changed files with 11 additions and 2 deletions

View File

@@ -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? %>