aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-11-19 10:25:05 +0000
committerGareth Rees <gareth@mysociety.org>2014-11-19 11:27:22 +0000
commit06771a09cf73d28b1f3520817f9a3dc03cc7b877 (patch)
tree35e00bd24027e9f1525ca019502d8abeeb3b182e /spec/controllers
parentbb233e381c2607788a91534a46c89f5fae6dce06 (diff)
Add extra censor rule routes
Adds specific routes for creating censor rules associated with an info request or user. Creates: POST /admin/info_requests/:info_request_id/censor_rules(.:format) GET /admin/info_requests/:info_request_id/censor_rules/new(.:format) POST /admin/users/:user_id/censor_rules(.:format) GET /admin/users/:user_id/censor_rules/new(.:format) Using these routes prevents the ID of the association object being lost when re-rendering the form on an unsuccessful persistence attempt.
Diffstat (limited to 'spec/controllers')
0 files changed, 0 insertions, 0 deletions