This commit is contained in:
albert
2013-02-17 01:38:34 -05:00
parent 3d9f5e20c6
commit 6ba9b015e4
7 changed files with 8 additions and 7 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 / 30.0).ceil), :class => "last-page" %>
<%= link_to "last", forum_topic_path(topic, :page => (topic.response_count / Danbooru.config.posts_per_page.to_f).ceil), :class => "last-page" %>
<% end %>
<% if topic.is_locked? %>