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

Add action to layout config? #98

Closed jaysylvester closed 7 months ago

jaysylvester commented 3 years ago

The layout config only has the controller and view. Should action be added?

jaysylvester commented 7 months ago

Since actions are generally called via URL and the layout controller isn't meant to accept requests directly, and the layout config is intended to be static after app launch, there isn't much sense in adding the ability to specify a custom action.