Refactor: Publish mode to publish 'workflow'

This commit is contained in:
Cássio Zen
2016-09-05 18:56:03 -03:00
parent e18c7191d7
commit b0e62d1ca9
5 changed files with 13 additions and 13 deletions

View File

@ -70,9 +70,9 @@ function parseConfig(data) {
}
}
if (!('publish_mode' in config.backend)) {
// Make sure there is a publish mode
config.backend['publish_mode'] = 'simple';
if (!('publish_workflow' in config)) {
// Make sure there is a publish workflow mode set
config['publish_workflow'] = 'simple';
}
if (!('public_folder' in config)) {