私は自分のロートの設定を持っています:
'admin' => array(
'type' => 'Segment',
'options' => array(
'route' => '/admin[/[:controller[/:action]]]',
'constraints' => array(
'controller' => '[a-zA-Z][a-zA-Z0-9_-]*/?',
'action' => '[a-zA-Z][a-zA-Z0-9_-]*/?',
),
'defaults' => array(
'controller' => 'index',
'action' => 'index',
),
),
'may_terminate' => true,
'child_routes' => array(
'query' => array(
'type' => 'Query',
),
),
)
admin / controller / some_action?id = 234234234に移動しようとすると、エラーが発生します。
A 404 error occurred
Page not found.
The requested URL could not be matched by routing.
私の設定の何が問題になっていますか?