Skip to content

Commit fc3a2dc

Browse files
committed
Update IndexCrudControllerCreator.php
1 parent 49cee05 commit fc3a2dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ubiquity/scaffolding/creators/IndexCrudControllerCreator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function create(ScaffoldController $scaffoldController) {
2727

2828
$uses = $this->getUsesStr();
2929
$messages [] = $scaffoldController->_createController ( $crudControllerName, [
30-
'%indexRoute%'=>$this->getAnnotation('route', ['name'=>'crud.index']),
30+
'%indexRoute%'=>$this->getAnnotation('route', ['name'=>'crud.index','priority'=>-1]),
3131
'%homeRoute%'=>$this->getAnnotation('route', ['path'=>$this->getHome($routePath),'name'=>'crud.home','priority'=>100]),
3232
'%routePath%' => '"'.\str_replace('{resource}', '".$this->resource."', $routePath).'"',
3333
'%route%' => $routeAnnotation,

0 commit comments

Comments
 (0)