Fix Layout/SpaceInsidePercentLiteralDelimiters rubocop issue and remove from rubocop todo list

This commit is contained in:
Bertocq
2017-06-21 22:33:35 +02:00
parent a76033fb72
commit b074090e92
2 changed files with 1 additions and 7 deletions

View File

@@ -2,7 +2,7 @@ class Activity < ActiveRecord::Base
belongs_to :actionable, -> { with_hidden }, polymorphic: true
belongs_to :user, -> { with_hidden }
VALID_ACTIONS = %w( hide block restore valuate )
VALID_ACTIONS = %w(hide block restore valuate)
validates :action, inclusion: {in: VALID_ACTIONS}