Controller: Page

Framework controller class for serving simple pages out of the app/views folder.

Use by passing “page/path/to/page_minus_extension in the URL



These pages should be .ejs pages and they will be wrapped in the default layout.  This feature is intended for very simple pages that are not associated with a controller.

Stored in framework/controller/page_controller.sjs


A layout file is a specialized view (see: Views) that is intended to wrap content before sending it to the browser.