Closed jaysylvester closed 2 years ago
Rather than complicate controller configs further, I simply added a config reset for each include controller and prior to controller handoff. Controllers will remain sandboxed instead of passing custom controller configs down the route chain to subsequent controllers.
Since it's a controller config, it should probably only alter the config for that specific controller.
Consider adding a
global
controller config to handle this case.global
config object changes the config for all subsequent controllers in the chaincontroller
config object changes the config for only the controller itselfhandler
for example) changes the config for only that action within that controller