aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authoranicet2015-06-09 09:59:02 +0200
committeranicet2015-06-09 10:33:39 +0200
commitaf62c88077e47fb4df3c28d82eeb49562d947469 (patch)
treeb3ff7d55bdb51232f1f8e496a62aae4a0bf9ba0a /app/controllers/application_controller.rb
parentd954c441e9380017788814800b110642801a28ba (diff)
downloadchouette-core-af62c88077e47fb4df3c28d82eeb49562d947469.tar.bz2
cleaning : remove trailing whitespace
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 63775a30f..cdb304bbf 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -6,11 +6,11 @@ class ApplicationController < ActionController::Base
# Load helpers in rails engine
helper LanguageEngine::Engine.helpers
-
+
def set_locale
I18n.locale = session[:language] || I18n.default_locale
end
-
+
protected
def current_organisation
@@ -25,6 +25,5 @@ class ApplicationController < ActionController::Base
# Overwriting the sign_out redirect path method
def after_sign_out_path_for(resource_or_scope)
new_user_session_path
- end
-
+ end
end