Re: How to set mapResources for all controllers?

2012-11-14 Thread derwu22
put name of every controller into argument of mapResources W dniu wtorek, 13 listopada 2012 20:12:34 UTC+1 użytkownik cricket napisał: What do you mean by automatically? Like in a config file? On Tue, Nov 13, 2012 at 9:06 AM, derwu22 der...@gmail.com javascript: wrote: Anyone? W

Re: How to set mapResources for all controllers?

2012-11-14 Thread lowpass
Router::mapResources( App::objects('Controller')); On Wed, Nov 14, 2012 at 6:26 AM, derwu22 derw...@gmail.com wrote: put name of every controller into argument of mapResources W dniu wtorek, 13 listopada 2012 20:12:34 UTC+1 użytkownik cricket napisał: What do you mean by automatically? Like

Re: How to set mapResources for all controllers?

2012-11-13 Thread derwu22
Anyone? W dniu poniedziałek, 12 listopada 2012 18:41:05 UTC+1 użytkownik derwu22 napisał: *Router::mapResources(Array('groups','examTypes','...'));* I know that I can manually set array of controllers name, but how I can set it automatically? -- Like Us on FaceBook

Re: How to set mapResources for all controllers?

2012-11-13 Thread lowpass
What do you mean by automatically? Like in a config file? On Tue, Nov 13, 2012 at 9:06 AM, derwu22 derw...@gmail.com wrote: Anyone? W dniu poniedziałek, 12 listopada 2012 18:41:05 UTC+1 użytkownik derwu22 napisał: Router::mapResources(Array('groups','examTypes','...')); I know that I can