Appease the mighty dog overlords (fix Ruby code nits)

This commit is contained in:
Andreas Nedbal 2022-01-23 21:06:33 +01:00 committed by Andreas Nedbal
parent aec10cbb9a
commit fb812d4f36

View file

@ -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?