aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/general_controller.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-02-13 19:32:50 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-02-15 12:22:23 +1100
commit5dce6d1465efa82a33a07706363221b39e8ca029 (patch)
tree241b9e138eb4089d5f6bb12c83d79d4951fe49c2 /app/controllers/general_controller.rb
parentba15c9b78dca182f74281d7354e77942860259e7 (diff)
Redirects should be done with absolute urls
Diffstat (limited to 'app/controllers/general_controller.rb')
-rw-r--r--app/controllers/general_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb
index 8aff5f7fc..875e39494 100644
--- a/app/controllers/general_controller.rb
+++ b/app/controllers/general_controller.rb
@@ -221,7 +221,7 @@ class GeneralController < ApplicationController
# Jump to a random request
def random_request
info_request = InfoRequest.random
- redirect_to request_path(info_request)
+ redirect_to request_url(info_request)
end
def custom_css