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/track_controller.rb | |
parent | 4b83519e02d5d42708dd1770f965b122a11c4440 (diff) |
Redirects should be done with absolute urls
Diffstat (limited to 'app/controllers/track_controller.rb')
-rw-r--r-- | app/controllers/track_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/track_controller.rb b/app/controllers/track_controller.rb index df413b0ea..15da7f327 100644 --- a/app/controllers/track_controller.rb +++ b/app/controllers/track_controller.rb @@ -61,7 +61,7 @@ class TrackController < ApplicationController return atom_feed_internal if params[:feed] == 'feed' if self.track_set - redirect_to public_body_path(@public_body) + redirect_to public_body_url(@public_body) end end |