app/controllers/alchemy/base_controller.rb in alchemy_cms-2.1.4 vs app/controllers/alchemy/base_controller.rb in alchemy_cms-2.1.5
- old
+ new
@@ -44,10 +44,10 @@
!current_user.blank?
end
# Overriding +I18n+s default +t+ helper, so we can pass it through +Alchemy::I18n+
def t(key, *args)
- Alchemy::I18n.t(key, *args)
+ ::Alchemy::I18n.t(key, *args)
end
private
# Sets the language for rendering pages in pages controller