Router::mapResources( App::objects('Controller'));
On Wed, Nov 14, 2012 at 6:26 AM, derwu22 <[email protected]> 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 in a config file?
>>
>> On Tue, Nov 13, 2012 at 9:06 AM, derwu22 <[email protected]> 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 manually set array of controllers name, but how I can
>> >> set it automatically?
>> >
>> > --
>> > Like Us on FaceBook https://www.facebook.com/CakePHP
>> > Find us on Twitter http://twitter.com/CakePHP
>> >
>> > ---
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "CakePHP" group.
>> > To post to this group, send email to [email protected].
>> > To unsubscribe from this group, send email to
>> > [email protected].
>> > Visit this group at http://groups.google.com/group/cake-php?hl=en.
>> >
>> >
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.