aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/track_controller.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-01-07 09:53:18 +0000
committerLouise Crow <louise.crow@gmail.com>2015-01-07 09:53:18 +0000
commitb803759551cc036a5e043a2991f386d8bcd0a398 (patch)
tree61c6c01bc21802d17f7bebb90c3def451cd8d889 /app/controllers/track_controller.rb
parent76950510e850d7f09af9710d86bd94c815fd7759 (diff)
parentbe4f5819bd4b18ef0e241ee846d6b42fc7a36cbe (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.rb2
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