aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/track_controller.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-02-13 17:30:05 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-02-15 12:22:23 +1100
commit8bae996d578fd18af7f8490b01924fe4718628f0 (patch)
tree788fd3452d23e382cff23c6816a38c62c6daa752 /app/controllers/track_controller.rb
parenteb0da8db16cf946019155398219b4c06c5236ae6 (diff)
Rename helper method
Diffstat (limited to 'app/controllers/track_controller.rb')
-rw-r--r--app/controllers/track_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/track_controller.rb b/app/controllers/track_controller.rb
index 15da7f327..5b22f3795 100644
--- a/app/controllers/track_controller.rb
+++ b/app/controllers/track_controller.rb
@@ -74,7 +74,7 @@ class TrackController < ApplicationController
return atom_feed_internal if params[:feed] == 'feed'
if self.track_set
- redirect_to user_url(@track_user)
+ redirect_to user_path(@track_user)
end
end
@@ -188,7 +188,7 @@ class TrackController < ApplicationController
# track_thing.created_at = Time.now() # as created_at is used to limit the alerts to start with
# track_thing.save!
# flash[:notice] = "You are now tracking " + track_thing.params[:list_description] + " by email daily"
- # redirect_to user_url(track_thing.tracking_user)
+ # redirect_to user_path(track_thing.tracking_user)
else
raise "new medium not handled " + new_medium
end