mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-04-05 04:47:16 +02:00
Appease the mighty dog overlords (fix Ruby code nits)
This commit is contained in:
parent
aec10cbb9a
commit
fb812d4f36
1 changed files with 17 additions and 17 deletions
|
@ -11,9 +11,9 @@ class ApplicationController < ActionController::Base
|
||||||
|
|
||||||
# check if user wants to read
|
# check if user wants to read
|
||||||
def check_locale
|
def check_locale
|
||||||
return I18n.locale = 'en' if Rails.env.test?
|
return I18n.locale = "en" if Rails.env.test?
|
||||||
|
|
||||||
I18n.locale = 'en'
|
I18n.locale = "en"
|
||||||
|
|
||||||
# if params[:hl].nil?
|
# if params[:hl].nil?
|
||||||
# if current_user.present?
|
# if current_user.present?
|
||||||
|
|
Loading…
Reference in a new issue