aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/help_controller.rb
diff options
context:
space:
mode:
authorBruno Perles2015-11-06 14:39:45 +0100
committerBruno Perles2015-11-10 15:39:20 +0100
commit8faa318e61cf70693ae9c3023661d1f1e5294744 (patch)
treed46cfdb12a0c3a33a75dc8203ce17b42cbfb83c2 /app/controllers/help_controller.rb
parentfe5998cc15e4ed5fde0ef4e9dd746d21bb34a4b3 (diff)
downloadchouette-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.rb2
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