diff options
| author | hukl <contact@smyck.org> | 2009-02-22 22:24:45 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-02-22 22:24:45 +0100 |
| commit | df13eabe5f16e35c800808ce044aa771eac02693 (patch) | |
| tree | 2bb425b82c3e19c16a7362911516cd875b9982c1 /app | |
| parent | 86d7dc1915feb9d20cdf43eac7049bc27012181e (diff) | |
thats not necessary anymore
Diffstat (limited to 'app')
| -rw-r--r-- | app/controllers/admin_controller.rb | 6 |
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 | ||
| 13 | end | 7 | end |
