Подскажите пожалуйста, не могу понять, есть два роута:
Код: Выделить всё
'unit/<id:\d+>/page/<page:\d+>' => 'unit/view',
'unit/<id:\d+>' => 'unit/view',
Код: Выделить всё
<?= Html::beginForm(['unit/view'], 'GET') ?>
<?= Html::dropDownList('id', null, $units]) ?>
<?= Html::submitButton('Go') ?>
<?= Html::endForm() ?>
Код: Выделить всё
<form action="/unit/view" method="GET">