By default sfPropelRoute is only accessible by get. Add this after param:
requirements:
sf_method: [get, post]
and it shall work.
On Tue, Apr 12, 2011 at 13:25, coviex wrote:
> Hi,
>
> How could this route
> ---
> profile:
> url: /profile/:login/*
> class: sfPropelRoute
> options: { model:
Hi,
How could this route
---
profile:
url: /profile/:login/*
class: sfPropelRoute
options: { model: User, type: object }
param: { module: user, action: index }
---
result in 200 when GET and 404 when POST?
Regards,
Kostia
--
If you want to report a vulnerability issue on symfony, please