aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/general_controller.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-02-19 14:27:47 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-02-19 15:33:32 +1100
commit8085e924a8888138a0c9127806888c438cf2600d (patch)
treea6204a957681a5c01bdc297ab30472b9cb2ed62e /app/controllers/general_controller.rb
parent3c4d7033ef44bf8dc42f95314809eb417d6e06b9 (diff)
Move serving of js for admin interface from general to admin_general controller
Diffstat (limited to 'app/controllers/general_controller.rb')
-rw-r--r--app/controllers/general_controller.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb
index d34f75a72..f6a46458e 100644
--- a/app/controllers/general_controller.rb
+++ b/app/controllers/general_controller.rb
@@ -229,11 +229,5 @@ class GeneralController < ApplicationController
@locale = self.locale_from_params()
render(:layout => false, :content_type => 'text/css')
end
-
- # For merged adminbootstraptheme
- # TODO: Remove this ugly hack
- def admin_js
- render :layout => false, :content_type => "application/javascript"
- end
end