diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-10-24 11:27:29 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-10-24 11:27:29 +0100 |
commit | eb37e3e6aede248e3e5558328cb3b6946d49a657 (patch) | |
tree | 96f6def8022e4b4286796200abd4ee16a72d2898 /app/controllers/track_controller.rb | |
parent | 0de52b20c67467b7d1198f988419f6deed777c5e (diff) | |
parent | d450371502bcd55776e51416afea8741ca66e8b3 (diff) |
Merge branch 'hotfix/0.14.0.3' into rails-3-develop
Diffstat (limited to 'app/controllers/track_controller.rb')
-rw-r--r-- | app/controllers/track_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/track_controller.rb b/app/controllers/track_controller.rb index 40fa69290..72c092221 100644 --- a/app/controllers/track_controller.rb +++ b/app/controllers/track_controller.rb @@ -181,7 +181,8 @@ class TrackController < ApplicationController if new_medium == 'delete' track_thing.destroy flash[:notice] = _("You are no longer following {{track_description}}.", :track_description => track_thing.params[:list_description]) - redirect_to params[:r] + redirect_to URI.parse(params[:r]).path + # Reuse code like this if we let medium change again. #elsif new_medium == 'email_daily' # track_thing.track_medium = new_medium |