21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-04-29 07:20:50 +02:00

Improve code style, based on Rubocop recommendations

This commit is contained in:
Jérémy Lecour 2018-06-13 22:11:04 +02:00
parent ddee9f44a8
commit c2f561f2ea
2 changed files with 2 additions and 1 deletions

View file

@ -4,6 +4,7 @@ class ApplicationController < ActionController::Base
before_action :configure_devise_parameters, if: :devise_controller?
before_action :set_locale
protected
def configure_devise_parameters

View file

@ -4,6 +4,6 @@ module ApplicationHelper
end
def available_locales_collection
I18n.available_locales.map { |k| [t("shared.locales.#{k}"), k]}
I18n.available_locales.map { |k| [t("shared.locales.#{k}"), k] }
end
end