reorganize site settings a bit

This commit is contained in:
Jeff Atwood
2014-10-19 23:14:50 -07:00
parent ba9e4b42fe
commit 92b615b503
9 changed files with 20 additions and 20 deletions

View File

@ -58,7 +58,7 @@ class TopicsController < ApplicationController
end
page = params[:page].to_i
if (page < 0) || ((page - 1) * SiteSetting.posts_per_page > @topic_view.topic.highest_post_number)
if (page < 0) || ((page - 1) * SiteSetting.posts_chunksize > @topic_view.topic.highest_post_number)
raise Discourse::NotFound
end