diff options
| -rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 3ee43d4..d624c89 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb | |||
| @@ -15,6 +15,6 @@ class ApplicationController < ActionController::Base | |||
| 15 | protected | 15 | protected |
| 16 | 16 | ||
| 17 | def set_locale | 17 | def set_locale |
| 18 | I18n.locale = params[:locale] || :en | 18 | I18n.locale = params[:locale].to_sym if params[:locale] |
| 19 | end | 19 | end |
| 20 | end | 20 | end |
