Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

config/main.php suggestions for setup page #43

Open
acorncom opened this issue May 21, 2011 · 0 comments
Open

config/main.php suggestions for setup page #43

acorncom opened this issue May 21, 2011 · 0 comments

Comments

@acorncom
Copy link

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant