From 9b746bd34b2b6d0ba71fd740a83f4c6d2da123f0 Mon Sep 17 00:00:00 2001 From: Seb Bacon Date: Wed, 12 Jan 2011 15:22:15 +0000 Subject: initial, basic i18n support with gettext --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/application_controller.rb') 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 -- cgit v1.2.3