Adjusts from review

This commit is contained in:
Rafael dos Santos Silva
2016-08-05 02:12:35 -03:00
parent acc70cc3de
commit 2a5a0bebb3
6 changed files with 12 additions and 12 deletions

View File

@@ -51,7 +51,7 @@ class TopicView
@page = 1 if (!@page || @page.zero?)
@chunk_size = case
when options[:slow_platform] then TopicView.slow_chunk_size
when @print then 1000
when @print then TopicView.print_chunk_size
else TopicView.chunk_size
end
@limit ||= @chunk_size