jaysylvester / citizen

Node.js MVC web application framework. Includes routing, serving, caching, session management, and other helpful tools.
MIT License
100 stars 7 forks source link

Controller configs don't apply when used as an include #115

Closed jaysylvester closed 2 years ago

jaysylvester commented 2 years ago

If a controller is called as an include, its config is ignored. Since include controllers are sandboxed and don't inherit a custom config from the calling controller, the include controller's custom config should be applied (probably after the config reset, line 1157).