aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/track_controller.rb
diff options
context:
space:
mode:
authorRobin Houston <robin.houston@gmail.com>2012-09-06 15:00:05 +0100
committerRobin Houston <robin.houston@gmail.com>2012-09-06 15:00:05 +0100
commit006717f1ac39557e50052bb5755d430a1fa100ee (patch)
treed07209a4ad2003111c03948d537127d40dda9799 /app/controllers/track_controller.rb
parent537b97ff069cac999da3ca80ede77fedc79e39ff (diff)
parent74531a783a8ea62a80596b435bd151cec2bf82c8 (diff)
Merge branch 'master' of git.mysociety.org:/data/git/public/alaveteli
Conflicts: spec/controllers/api_controller_spec.rb
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 07e807451..1a21491b1 100644
--- a/app/controllers/track_controller.rb
+++ b/app/controllers/track_controller.rb
@@ -15,7 +15,7 @@ class TrackController < ApplicationController
# Track all updates to a particular request
def track_request
- @info_request = InfoRequest.find_by_url_title(params[:url_title])
+ @info_request = InfoRequest.find_by_url_title!(params[:url_title])
@track_thing = TrackThing.create_track_for_request(@info_request)
return atom_feed_internal if params[:feed] == 'feed'