Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Url Mapping

$
0
0
'/' => 'user/signin',
'<controller:\w+>/<action:\w+>/<id:\d+>' => '<controller>/<action>',
'<controller:\w+>/<action:\w+>/<type:\d+>' => '<controller>/<action>',
'<controller:\w+>/<action:\w+>' => '<controller>/<action>',


I have this URL mapping code, how do I map this controller to this controller action as another rule.

'proposal/viewclientlink' to 'p/c'

I have tried this so far ...

'p/c' => 'proposal/viewclientlink'


As a rule however it is not working. The method does except a param called "keycode".

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>