app/controllers/georgia/application_controller.rb in georgia-0.7.6 vs app/controllers/georgia/application_controller.rb in georgia-0.7.7

- old
+ new

@@ -9,10 +9,10 @@ def current_ability @current_ability ||= Ability.new(current_user) end def current_locale - I18n.locale + @current_locale ||= params.fetch(:locale, I18n.locale.to_s) end helper_method :current_locale private