Fix routes.php
parent
62fb0621a3
commit
0171d5bf2c
|
@ -2,14 +2,12 @@
|
|||
return [
|
||||
'routes' => [
|
||||
['name' => 'page#main', 'url' => '/', 'verb' => 'GET'],
|
||||
['name' => 'page#album', 'url' => '/albusms/{path}/{path1}', 'verb' => 'GET',
|
||||
['name' => 'page#album', 'url' => '/albums/{path}', 'verb' => 'GET',
|
||||
'requirements' => [
|
||||
'path' => '.*',
|
||||
'path1' => '.*',
|
||||
],
|
||||
'defaults' => [
|
||||
'path' => '',
|
||||
'path1' => '',
|
||||
]
|
||||
],
|
||||
|
||||
|
|
Loading…
Reference in New Issue