diff options
author | Louise Crow <louise.crow@gmail.com> | 2015-01-07 09:53:18 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2015-01-07 09:53:18 +0000 |
commit | b803759551cc036a5e043a2991f386d8bcd0a398 (patch) | |
tree | 61c6c01bc21802d17f7bebb90c3def451cd8d889 /app/controllers/track_controller.rb | |
parent | 76950510e850d7f09af9710d86bd94c815fd7759 (diff) | |
parent | be4f5819bd4b18ef0e241ee846d6b42fc7a36cbe (diff) |
Merge branch 'hotfix/0.20.0.2' into rails-3-develop
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 7018af03c..4b272797f 100644 --- a/app/controllers/track_controller.rb +++ b/app/controllers/track_controller.rb @@ -211,7 +211,7 @@ class TrackController < ApplicationController track_thing.destroy end - redirect_to params[:r] + redirect_to URI.parse(params[:r]).path end |