Apply IndentationConsistency rubocop rule

This commit is contained in:
Javi Martín
2019-06-18 02:34:40 +02:00
parent e252d82cdb
commit 47b2c42a1d
36 changed files with 425 additions and 425 deletions

View File

@@ -17,12 +17,12 @@ class FollowsController < ApplicationController
private
def find_followable
params[:followable_type].constantize.find(params[:followable_id])
end
def find_followable
params[:followable_type].constantize.find(params[:followable_id])
end
def followable_translation_key(followable)
followable.class.name.parameterize(separator: "_")
end
def followable_translation_key(followable)
followable.class.name.parameterize(separator: "_")
end
end