diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2011-01-12 15:22:15 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-03-10 09:55:22 +0000 |
commit | 9b746bd34b2b6d0ba71fd740a83f4c6d2da123f0 (patch) | |
tree | 94e63af60b43acd9c8caec2d79097bd527b1186c /app/controllers/application_controller.rb | |
parent | 11fa9d4178fe26f4c14acaf1816361bf8e5e7c9e (diff) |
initial, basic i18n support with gettext
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 9382e077f..61a2444e3 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -12,7 +12,7 @@ class ApplicationController < ActionController::Base # Standard headers, footers and navigation for whole site layout "default" - # set locale + include FastGettext::Translation # make functions like _, n_, N_ etc available) before_filter :set_gettext_locale # scrub sensitive parameters from the logs filter_parameter_logging :password |