aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2011-02-24 11:45:21 +0000
committerLouise Crow <louise.crow@gmail.com>2011-02-24 11:45:21 +0000
commit0f523ce6febe4dd3507d86a0fb18f5a9fe167bda (patch)
tree7ba5c4d0d6bb221ad314b1c869bd9bece71f1355 /app/controllers/application_controller.rb
parente57e50749e4f4d8f04e00cc117b07ccee7e050c5 (diff)
Updating validations so that none expect automatic interpolation of the attribute.
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 5420499f6..9382e077f 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -12,6 +12,8 @@
class ApplicationController < ActionController::Base
# Standard headers, footers and navigation for whole site
layout "default"
+ # set locale
+ before_filter :set_gettext_locale
# scrub sensitive parameters from the logs
filter_parameter_logging :password