diff options
author | Gareth Rees <gareth@mysociety.org> | 2015-04-29 13:44:51 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2015-05-12 16:13:16 +0100 |
commit | dd00661123379ccb508a7422b152c17769f7501d (patch) | |
tree | 997e8e2165fb1920f01e3436d2e77736cd92befe /spec/controllers/widgets_controller_spec.rb | |
parent | 4e568aab076f818ea5d011d05779edfa2bca68ec (diff) |
Allow optional censor rules to be passed to #body
If we’re in the context of an InfoRequest and want the
OutgoingMessage#body, we can pass the rules in explicitly to avoid
looking up the info request again. Otherwise it falls back to the
existing behaviour.
Diffstat (limited to 'spec/controllers/widgets_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions