http://www.symfony-project.org/reference/1_4/en/10-Routing#chapter_10_sub_method_for_criteria

:)

On 14.07.2010, at 13:20, HAUSa wrote:

> I got a feeling that my method option is ignored:
> 
> advertisement_show:
>  url:     /:sf_culture/advertisement/show/:id/:slug/*
>  class:   sfPropelRoute
>  options: { model: Advertisement, type: object, method: adsasdgas }
>  param:   { module: advertisement, action: show }
>  requirements:
>    sf_method:  [get, post]
>    sf_culture: (?:en|es|de|fr|nl)
> 
> I gave it on purpose a name that doesn't exist in order to test it.
> Because I don't get an error screen, it confirms my theory that the
> method option is ignored.
> 
> How can I set a method name from my AdvertisementPeer with which my
> object is picked?
> 
> -- 
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
> 
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to