Url Rule With Module

hi everybody how to customize modules url rule? I set the url to path and what I need is I have a article module and it contains articles controller

I expect url like this. example.com/article/1 resolves to example.com/article/article/view/id/1

I tried it many way but failed… help me…




'article/<id>'=>'article/article/view',



I tried this already but it says unable to resolve article/view

hi guys I got it… here is customized url rule

[b]

‘<controller:(article)>/<id:\d+>’=>‘article/article/view/’,

‘<controller:(article)>/<action:\w+>/<id:\d+>’=>‘article/article/<acrion>’

[/b]

hi guys what I understand is we have to use the above mentioned rule before the url rules generated by gii…