Jon, not really true. In apps/myapp/modules/mymodule/config/module.yml
all: # For all environments enabled: true myaction: enabled: false another: enabled: false Does this work? Kiril Jonathan Franks wrote: > Thanks for the link, but that seems to allow you to disable all actions > of a module. I want to disable some actios but not all. Am I missing > something?? > > Thanks // Jon > > Kiril Angov wrote: > >> Do not waste your time: >> >> http://www.symfony-project.com/book/trunk/06-Inside-the-Controller-Layer#Module%20Configuration >> >> Jonathan Franks wrote: >> >> >>> I was thinking the same thing, but I just wanted to check that there was >>> a built in solution! >>> >>> Thanks! Will try that now.... >>> >>> [EMAIL PROTECTED] wrote: >>> >>> >>> >>>> what about writing a filter? >>>> you can place different parametes in the filter.yml config file. >>>> >>>> check: >>>> http://www.symfony-project.com/book/trunk/06-Inside-the-Controller-Layer#Filters >>>> >>>> >>>> >>>> On 10 Aug., 11:10, Jonathan Franks <[EMAIL PROTECTED]> wrote: >>>> >>>> >>>> >>>> >>>>> Is it possible to disable an action with the config files, so that a >>>>> call to that action results in a 404:page not found error? >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >> >> >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
