removes routes locale constrain and fixes some bugs

This commit is contained in:
Manuel Wiedenmann 2013-06-06 04:29:53 +02:00
parent 60c4c5510a
commit 0061e45198
5 changed files with 185 additions and 187 deletions

View file

@ -41,7 +41,7 @@ module Foodsoft
else
::I18n.locale = default_language
end
locale = session[:locale] = ::I18n.locale
logger.info("Set locale to #{locale}")
end