diff options
| author | Bruno Perles | 2015-11-06 14:39:45 +0100 |
|---|---|---|
| committer | Bruno Perles | 2015-11-10 15:39:20 +0100 |
| commit | 8faa318e61cf70693ae9c3023661d1f1e5294744 (patch) | |
| tree | d46cfdb12a0c3a33a75dc8203ce17b42cbfb83c2 /app/controllers/help_controller.rb | |
| parent | fe5998cc15e4ed5fde0ef4e9dd746d21bb34a4b3 (diff) | |
| download | chouette-core-8faa318e61cf70693ae9c3023661d1f1e5294744.tar.bz2 | |
Change before_filter to before_action
Diffstat (limited to 'app/controllers/help_controller.rb')
| -rw-r--r-- | app/controllers/help_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/help_controller.rb b/app/controllers/help_controller.rb index 7d4c3409d..4eec0fc75 100644 --- a/app/controllers/help_controller.rb +++ b/app/controllers/help_controller.rb @@ -1,7 +1,7 @@ class HelpController < ActionController::Base layout "application" protect_from_forgery - before_filter :set_locale + before_action :set_locale def set_locale I18n.locale = session[:language] || I18n.default_locale |
