Tuesday, November 15, 2011

Re: Singular controller name route

Perhaps using a custom class to collect data from the app.

It could not rerun data unless it has a view action

- S

On 15 Nov 2011 18:43, "martinp" <martinpetts@gmail.com> wrote:
Thanks for the reply Jeremy, but what I'm actually looking for is a
way to do this automatically.

In the same way that routes configuration is set up to
handle /:controller/:action/*, I would like to set
up /:controller_singular/* which would go to the view action.

i.e. not naming individual controllers in the route config, have it
happen automagically.

On Nov 15, 4:28 pm, jeremyharris <funeralm...@gmail.com> wrote:
> Check out:http://book.cakephp.org/view/945/Routes-Configuration
>
> There's examples for your very request about halfway through.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate