Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

config/main.php suggestions for setup page #43

Open
acorncom opened this Issue · 0 comments

1 participant

@acorncom

I just ran into some glitches with urlManager rules combined with MongoDb Ids (which are strings instead of ints). Here's what I came up with in case you want to update the setup page in the manual (http://canni.github.com/YiiMongoDbSuite/xhtml/setup.html):

'urlManager'=>array(
'urlFormat'=>'path',
'rules'=>array(
// 'controller:w+/id:d+'=>'/view',
// 'controller:w+/action:w+/id:d+'=>'/',
'controller:w+/action:w+'=>'/',
'controller:w+/action:w+/id:w+'=>'/',
'controller:w+/id:w+'=>'/view',
),
),

Thanks, this is turning out really nicely!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.