Thanks a lot !

I've seen that in doc, but as "index" was never mentioned, I thought
it was not as simple to disable index action ...


On 26 fév, 14:26, Dennis Benkert <[email protected]> wrote:
> You can use the 'actions' option to define which routes will be
> created. The following configuration in routing.yml would create all
> routes except 'list':
>
> articles:
>   class:   sfPropelRouteCollection
>   options:
>     model: Article
>     module: article
>     actions: [new, create, edit, update, delete]
>
> greetings
>
> 2009/2/26 Shinkan <[email protected]>
>
>
>
> > Hi everybody !
>
> > In my application routing.yml, I use some sfPropelRouteCollection.
> > Like, say :
>
> > user:
> >  class: sfPropelRouteCollection
> >  options: { model: User }
>
> > For some of these, I would like an action to be unavailable.
> > In fact, I do not use the standard listing feature, which is the
> > "index" action, and I would like to know how can I remove it from
> > generated routes ?
>
> > Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to