From 36a2f1f3c085dd81171cf7d8220770d4ff921ab3 Mon Sep 17 00:00:00 2001 From: hukl Date: Sat, 7 Feb 2009 15:50:40 +0100 Subject: added globalize2 plugin as well as some modifications which use the new translation facilities. backend mostly. --- app/controllers/content_controller.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/controllers/content_controller.rb') diff --git a/app/controllers/content_controller.rb b/app/controllers/content_controller.rb index 0fa9832..f5e62c1 100644 --- a/app/controllers/content_controller.rb +++ b/app/controllers/content_controller.rb @@ -6,6 +6,7 @@ class ContentController < ApplicationController # return a node though, the node is really a proxy object for pages. It # returns the most recent page associated to this node instead. def render_page + I18n.locale = params[:language] path = params[:page_path].join('/') @page = Node.find_page(path) -- cgit v1.3