removes routes locale constrain and fixes some bugs
This commit is contained in:
parent
60c4c5510a
commit
0061e45198
5 changed files with 185 additions and 187 deletions
|
|
@ -41,7 +41,7 @@ module Foodsoft
|
|||
else
|
||||
::I18n.locale = default_language
|
||||
end
|
||||
|
||||
|
||||
locale = session[:locale] = ::I18n.locale
|
||||
logger.info("Set locale to #{locale}")
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue