aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorLuc Donnet2015-01-07 21:58:56 +0100
committerLuc Donnet2015-01-07 21:58:56 +0100
commitbaaed4653623cfc918ada7250c4fd879aad28893 (patch)
treeec1e7da111c2ccd95f82013e2d40d6b455f80815 /app/controllers/application_controller.rb
parentc39887f2e4f6a12ab3af205c58a1330d8b28f5e9 (diff)
downloadchouette-core-baaed4653623cfc918ada7250c4fd879aad28893.tar.bz2
Fix spec and update devise usage
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 04dd281d5..4359ee02e 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -2,6 +2,7 @@ class ApplicationController < ActionController::Base
protect_from_forgery
before_filter :authenticate_user!
before_filter :set_locale
+ helper LanguageEngine::Engine.helpers
def set_locale
I18n.locale = session[:language] || I18n.default_locale