rubocop: fix various style issues.

This commit is contained in:
evazion
2019-12-22 16:21:58 -06:00
parent 09f6a84660
commit 309821bf73
288 changed files with 912 additions and 962 deletions

View File

@@ -2,7 +2,7 @@ module Moderator
module Post
class QueuesController < ApplicationController
RANDOM_COUNT = 12
respond_to :html, :json
before_action :approver_only
skip_before_action :api_check
@@ -38,7 +38,7 @@ module Moderator
respond_with(@posts)
end
protected
protected
def per_page
cookies["mq_per_page"] || search_params[:per_page] || 25