Reduce duplication in form controllers with disabled actions #55
Labels
engine
Relates to an engine or the engines
housekeeping
Refactoring, tidying up or other work which supports the project
waste-carriers
Relates to the waste carriers service
waste-exemptions
Relates to the waste exemptions service
This came out of discussion here: https://github.com/DEFRA/waste-exemptions-engine/pull/241#discussion_r308131294
We have a lot of forms controllers that have disabled actions like this:
We should see if there is any way to reduce the duplication, potentially by creating a concern (eg
CannotSubmit
orCannotGoBack
).The text was updated successfully, but these errors were encountered: