diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-03-11 14:37:48 +0000 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-03-13 11:48:43 +0000 |
commit | 73d0f361fd4e49f11b3b99db7b3dc2b06dc9e9d7 (patch) | |
tree | 6f4af5f7e1c3043d9a45e5d57ad8c6be3026d7f1 /lib/normalize_string.rb | |
parent | 68a9536dc68f35965156aeb84c9f4c5bee391159 (diff) |
Use filter to reject if user is banned
Extract checking whether a user is banned from making Comments on an
InfoRequest to a filter in CommentController.
Removes responsibility from the #new method.
Adds a missing spec.
Diffstat (limited to 'lib/normalize_string.rb')
0 files changed, 0 insertions, 0 deletions