summaryrefslogtreecommitdiff
path: root/app/controllers/admin_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/admin_controller.rb')
-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