Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'urlManager' => [
- 'enablePrettyUrl' => true,
- 'showScriptName' => false,
- 'rules' => [
- '<controller:w+>/<city:d+>' => '<controller>/view',
- '<controller:w+>/<action:w+>/<city:d+>' =>
- '<controller>/<action>'
- ],
- ],
- echo Html::a('<h4>'.$cities[$i].'</h4>', ['/ads/browse',
- 'city'=>$cities[$i]], ['class'=>'btn buttonCity']);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement