Apply PercentLiteralDelimiters rubocop rule

This commit is contained in:
Javi Martín
2019-06-18 02:09:10 +02:00
parent 17c36c6c6c
commit b5b07bccd3
49 changed files with 79 additions and 79 deletions

View File

@@ -4,7 +4,7 @@ class TopicsController < ApplicationController
before_action :load_community
before_action :load_topic, only: [:show, :edit, :update, :destroy]
has_orders %w{most_voted newest oldest}, only: :show
has_orders %w[most_voted newest oldest], only: :show
skip_authorization_check only: :show
load_and_authorize_resource except: :show