From df13eabe5f16e35c800808ce044aa771eac02693 Mon Sep 17 00:00:00 2001 From: hukl Date: Sun, 22 Feb 2009 22:24:45 +0100 Subject: thats not necessary anymore --- app/controllers/admin_controller.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'app/controllers') diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 600664a..6694ad6 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -3,11 +3,5 @@ class AdminController < ApplicationController def index end - - def switch_locale - I18n.locale = params[:id].to_sym - - render :controller => 'nodes', :action => 'index' - end end -- cgit v1.3