Commit a26fb131 by Van

fix(all): Fix synchro

parent 08403b4d
......@@ -74,7 +74,7 @@ class Synchronisation
$schema->updateStep1();
// Add data
$data = new Data($this->application, $this->flux->getCode(), $arrayStream, $options);
$data = new Data($this->application, $this->flux->getFluxCode(), $arrayStream, $options);
$data->insert();
}
......
......@@ -56,8 +56,8 @@ class ContentTypeFile
'singular_name' => ucfirst($this->flux->getContentType()),
'singular_slug' => strtolower($this->flux->getContentType()),
'fields' => $this->getFields(),
'record_template' => strtolower('tourinsoft/'.$this->flux->getCode().'/record.twig'),
'listing_template' => strtolower('tourinsoft/'.$this->flux->getCode().'/listing_record.twig'),
'record_template' => strtolower('tourinsoft/'.$this->flux->getFluxCode().'/record.twig'),
'listing_template' => strtolower('tourinsoft/'.$this->flux->getFluxCode().'/listing_record.twig'),
'viewless' => $this->flux->isViewless(),
'searchable' => $this->flux->isSearchable(),
'default_status' => 'published',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment