diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-02-13 17:05:39 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-02-15 12:22:23 +1100 |
commit | 85223bb2b630c8576352816b47b3c93f5c0b593b (patch) | |
tree | 053b2f5503873770ca321991cced5834d62fe145 /app/controllers/request_controller.rb | |
parent | 4b83519e02d5d42708dd1770f965b122a11c4440 (diff) |
Redirects should be done with absolute urls
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r-- | app/controllers/request_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index 0dec1fb72..dfa3a4834 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -279,7 +279,7 @@ class RequestController < ApplicationController else # if not requestable because defunct or not_apply, redirect to main page # (which doesn't link to the /new/ URL) - redirect_to public_body_path(@info_request.public_body) + redirect_to public_body_url(@info_request.public_body) end end return |