diff --git a/app/controllers/post_history_controller.rb b/app/controllers/post_history_controller.rb index dbc22a209..38641bf5c 100644 --- a/app/controllers/post_history_controller.rb +++ b/app/controllers/post_history_controller.rb @@ -14,7 +14,7 @@ def post @count = base_query.count - @page = params[:page].nil? ? 1 : params[:page] + @page = params[:page].nil? ? 1 : params[:page].to_i render layout: 'without_sidebar' end