app/controllers/bhf/application_controller.rb in bhf-0.1.2 vs app/controllers/bhf/application_controller.rb in bhf-0.1.3
- old
+ new
@@ -18,10 +18,10 @@
auth_logic = Bhf::Engine.config.auth_logic_from.constantize.new
if auth_logic.respond_to?(:current_admin_account) && auth_logic.current_admin_account
return true
else
- redirect_to(root_url, :error => I18t.t('bhf.helpers.login.error')) and return false
+ redirect_to(root_url, :error => t('bhf.helpers.login.error')) and return false
end
end
def load_config
@config = Bhf::Settings.new(