diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-03-11 14:35:32 +0000 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-03-13 11:48:43 +0000 |
commit | 68a9536dc68f35965156aeb84c9f4c5bee391159 (patch) | |
tree | 6e4fd5041f5dd47db4ab7f55dc0b6794dbe20109 /spec/controllers/comment_controller_spec.rb | |
parent | ec925323afce0e2f2c3dbca0b3a1efb054d468e6 (diff) |
Use filter to reject unless comments allowed
Extract checking whether comments are allowed on an InfoRequest to a
filter in CommentController.
Removes responsibility from the #new method.
Diffstat (limited to 'spec/controllers/comment_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions