Permalink
Browse files

removed deprecated i18n_enabled? method on 2.1 & also fix my wrong im…

…plementation (again)
  • Loading branch information...
keram committed Sep 5, 2012
1 parent cb1b8cc commit 46595fa3c3561bfe58d5a475843491729dd65e9b
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/lib/refinery/core.rb
@@ -115,7 +115,7 @@ def i18n_enabled?
end
def current_admin_locale
- @current_admin_locale ||= ::Refinery.i18n_enabled? ? ::I18n.locale : ::Refinery::I18n.default_locale
+ ::I18n.locale
end
# Returns a Pathname to the root of the Refinery CMS project

0 comments on commit 46595fa

Please sign in to comment.