YiiMongoDbSuite icon indicating copy to clipboard operation
YiiMongoDbSuite copied to clipboard

config/main.php suggestions for setup page

Open acorncom opened this issue 14 years ago • 0 comments

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!

acorncom avatar May 21 '11 19:05 acorncom