Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 485 Bytes

changing-the-module-layout.md

File metadata and controls

13 lines (11 loc) · 485 Bytes

Changing The Module Layout

If you are picky and you would like to change the folder layout for your module, you can. This is achieved from within the ModuleConfig.cfc by adding a conventions structure that will explain to the ColdBox Module engine how to locate and configure your module.

// Module Conventions
conventions = {
  handlersLocation  = "handlers",
  viewsLocation     = "views",
  layoutsLocation   = "layouts",
  modelsLocation    = "models"
};