You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.
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):
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!
The text was updated successfully, but these errors were encountered: