diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-06-16 13:46:22 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-06-16 13:46:22 +0100 |
commit | 04145fbe231cdbbc88b9172dad1ae3d1ddfb65cc (patch) | |
tree | 0516d6a792f4f0174e673579e2bf01bb4f8242bb /app/controllers/comment_controller.rb | |
parent | 6c89d63b6eebe33401efbf376e3884c61fb92d26 (diff) | |
parent | 7bf6cbe307d3fd99680c084025240ed504e37297 (diff) |
Merge branch 'rails-3-develop' of ssh://git.mysociety.org/data/git/public/alaveteli into rails-3-develop
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 5e39c3a2c..2c0037577 100644 --- a/app/controllers/comment_controller.rb +++ b/app/controllers/comment_controller.rb @@ -21,7 +21,7 @@ class CommentController < ApplicationController end if params[:comment] - # XXX this check should theoretically be a validation rule in the model + # TODO: this check should theoretically be a validation rule in the model @existing_comment = Comment.find_existing(@info_request.id, params[:comment][:body]) else # Default to subscribing to request when first viewing form |