trails
trails copied to clipboard
Footprints to controller false doesn't disable controllers
Issue Description
There a merge problem on this, if you set config.footprints.controllers:false is doesn't work because on trailpack-footprints the default footprints options are :
controllers: {
method: '*',
ignore: [
'FootprintController'
]
},
Once config are merge the results is only the trailpack config :( any way to fix this ?
Environment
- node version: all
- trails version: all
- operating system: all
As temp workaround config/footprints.js
const controllerNames = Object.keys(require('../api/controllers'))
module.exports = {
controllers: {ignore: controllerNames},
...
}
@tjwebb it's something that can be fix for v2 ??
@tjwebb don't think it's fix right ?