aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/general_controller.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-03-22 10:03:20 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-03-22 10:03:20 +1100
commit8308f4e115fcf51ec5d528e55af7e454963ce7aa (patch)
tree1c347cc86140c3021e6fc3c2832a3a327d9ed052 /app/controllers/general_controller.rb
parentd09758c79fff462906b48dda6601ced25a8865da (diff)
Remove apparently unused action for showing random request
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 6f79c50cb..edfad2cc6 100644
--- a/app/controllers/general_controller.rb
+++ b/app/controllers/general_controller.rb
@@ -218,12 +218,6 @@ class GeneralController < ApplicationController
@feed_autodetect = [ { :url => do_track_url(@track_thing, 'feed'), :title => @track_thing.params[:title_in_rss], :has_json => true } ]
end
- # Jump to a random request
- def random_request
- info_request = InfoRequest.random
- redirect_to request_url(info_request)
- end
-
def custom_css
long_cache
@locale = self.locale_from_params()