aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/general_controller.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-05-30 17:39:15 +0100
committerLouise Crow <louise.crow@gmail.com>2013-05-30 17:39:15 +0100
commitad4f931918ae9a8f3347db0b572dffb1280a5fe9 (patch)
treec843f3bbd8bce10b680f876749714ec949673464 /app/controllers/general_controller.rb
parentd9870d07db8fd364e1e39e0e8959342736d04ac9 (diff)
parent8308f4e115fcf51ec5d528e55af7e454963ce7aa (diff)
Merge remote-tracking branch 'openaustralia_github/remove_random_request_action' into rails-3-develop
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 9d0f91dda..4fd0c3deb 100644
--- a/app/controllers/general_controller.rb
+++ b/app/controllers/general_controller.rb
@@ -211,12 +211,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()