Skip to content

Commit 353febc

Browse files
committed
Merge branch 'next'
2 parents a4af5a8 + 2f47962 commit 353febc

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

templates/bake/Controller/controller.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class {{ name }}Controller extends AppController
4646
public function initialize():void
4747
{
4848
parent::initialize();
49-
$this->loadComponent('Search.Prg', [
49+
$this->loadComponent('Search.Search', [
5050
'actions' => ['index']
5151
]);
5252
}

templates/bake/Model/table.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class {{ name }}Table extends Table
6161
'comparison' => 'LIKE',
6262
'wildcardAny' => '*',
6363
'wildcardOne' => '?',
64-
'field' => ['{{ displayField }}']
64+
'fields' => ['{{ displayField }}']
6565
]);
6666
{%- if behaviors %}
6767

templates/bake/element/form.twig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
'cols' => 'col-xs-6 col-md-6 col-lg-4',
6767
'maxquantity' => -1,
6868
'restrictions' => [
69-
Attachment\View\Helper\AttachmentHelper::TAG_RESTRICTED,
70-
Attachment\View\Helper\AttachmentHelper::TYPES_RESTRICTED
69+
Trois\Attachment\View\Helper\AttachmentHelper::TAG_RESTRICTED,
70+
Trois\Attachment\View\Helper\AttachmentHelper::TYPES_RESTRICTED
7171
],
7272
'attachments' =>{% if 'add' not in action %} (${{singularVar}}->attachments)? ${{singularVar}}->attachments : []{% else %} []{% endif %},
7373
]);?>
@@ -92,8 +92,8 @@
9292
'cols' => 'col-xs-6 col-md-6 col-lg-4',
9393
'maxquantity' => 1,
9494
'restrictions' => [
95-
Attachment\View\Helper\AttachmentHelper::TAG_RESTRICTED,
96-
Attachment\View\Helper\AttachmentHelper::TYPES_RESTRICTED
95+
Trois\Attachment\View\Helper\AttachmentHelper::TAG_RESTRICTED,
96+
Trois\Attachment\View\Helper\AttachmentHelper::TYPES_RESTRICTED
9797
],
9898
'attachments' =>{% if 'add' not in action %} (${{singularVar}}->attachment)? [${{singularVar}}->attachment] : []{% else %} []{% endif %},
9999
]

0 commit comments

Comments
 (0)