summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-02-22 22:24:45 +0100
committerhukl <contact@smyck.org>2009-02-22 22:24:45 +0100
commitdf13eabe5f16e35c800808ce044aa771eac02693 (patch)
tree2bb425b82c3e19c16a7362911516cd875b9982c1
parent86d7dc1915feb9d20cdf43eac7049bc27012181e (diff)
thats not necessary anymore
-rw-r--r--app/controllers/admin_controller.rb6
1 files changed, 0 insertions, 6 deletions
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
3 3
4 def index 4 def index
5 end 5 end
6
7 def switch_locale
8 I18n.locale = params[:id].to_sym
9
10 render :controller => 'nodes', :action => 'index'
11 end
12 6
13end 7end