diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-09-07 12:51:42 +0100 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-09-07 12:51:42 +0100 |
commit | c690679f5e55d908a0f91b0d9b3276ae3f748b2d (patch) | |
tree | cbe46b2e859aa6f59d39a110d997274091004a24 /app/controllers/comment_controller.rb | |
parent | 67a3a43cc26f8ad7218f33a13af04c3c74347866 (diff) | |
parent | dd39dbc580b1447758a6d3b9231ce09c9b3dcdf3 (diff) |
Merge branch 'wdtk' of git.mysociety.org:/data/git/public/alaveteli into wdtk
Diffstat (limited to 'app/controllers/comment_controller.rb')
-rw-r--r-- | app/controllers/comment_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/comment_controller.rb b/app/controllers/comment_controller.rb index d9cd002dd..1552017c2 100644 --- a/app/controllers/comment_controller.rb +++ b/app/controllers/comment_controller.rb @@ -12,7 +12,7 @@ class CommentController < ApplicationController def new if params[:type] == '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) if params[:comment] @comment = Comment.new(params[:comment].merge({ |