summaryrefslogtreecommitdiff
path: root/app/controllers/content_controller.rb
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-02-19 21:58:05 +0100
committerhukl <contact@smyck.org>2009-02-19 21:58:05 +0100
commit49eaf2da6f2f7fd125dced8075a2a9684d3a65dc (patch)
treef9619fb5133fdba6f41b0cf0419011b0cbf965f5 /app/controllers/content_controller.rb
parent069187aee03481a5b802fe82a7c1fad26a66a876 (diff)
not needed anymore
Diffstat (limited to 'app/controllers/content_controller.rb')
-rw-r--r--app/controllers/content_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/content_controller.rb b/app/controllers/content_controller.rb
index f5e62c1..0fa9832 100644
--- a/app/controllers/content_controller.rb
+++ b/app/controllers/content_controller.rb
@@ -6,7 +6,6 @@ class ContentController < ApplicationController
6 # return a node though, the node is really a proxy object for pages. It 6 # return a node though, the node is really a proxy object for pages. It
7 # returns the most recent page associated to this node instead. 7 # returns the most recent page associated to this node instead.
8 def render_page 8 def render_page
9 I18n.locale = params[:language]
10 path = params[:page_path].join('/') 9 path = params[:page_path].join('/')
11 10
12 @page = Node.find_page(path) 11 @page = Node.find_page(path)