diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-03-11 14:33:51 +0000 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-03-13 11:48:42 +0000 |
commit | ec925323afce0e2f2c3dbca0b3a1efb054d468e6 (patch) | |
tree | f0788a27ee897f28020d7ef1b8fcaaa6484ae486 /spec/controllers/comment_controller_spec.rb | |
parent | 10fbde73f2782df0f007c668d07c8067b2fbb4dc (diff) |
Extract create_track_thing from CommentController
Use a before_filter to make @track_thing available to all filters
called on the same action and remove responsibility from the #new method
Diffstat (limited to 'spec/controllers/comment_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions