UrlManager with get paramter

Hi,

i have 2 url

example and example2

How to rewrite this 2 url, the 2 url is the get param? My idea:




'example'=>'controller/action/<getparam:example>',

'example2'=>'controller/action/<getparam:example2>'



Assuming that both URLs point to the same controller action:


'<getparam:(example|example2)>' => 'controller/action',

Upps, i write bad code. ::)




'example'=>'controller/action/<getparam:examples>', //not example

'example2'=>'controller/action/<getparam:example2>'



Anyone?