Sure, your configuration is OK.

Maybe the routing match another route before this one.

Please check in the logs and tell us,

look if you do you have any other rule that could catch your url before ?

Use the task *./symfony app:routes websites* to get the list of the app
routes.

Alexandre



2009/10/9 HAUSa <[email protected]>

>
> Can someone help me with this please?
> It's really becoming an obstacle in my development process now... :(
>
> On 8 okt, 21:01, HAUSa <[email protected]>
> wrote:
> > I have this route:
> >
> > user_activate:
> >   url:     /user/activate/:id
> >   class:   sfPropelRoute
> >   options: { model: User, type: object }
> >   param:   { module: user, action: activate }
> >
> > Now, in the page where that route leads to, I have a form. The form is
> > being sent to that route again:
> > <form id="form_user_user_activate" action="/website_dev.php/user/
> > activate/1" method="post" enctype="multipart/form-data">
> >
> > But, when I post that form, I get this error message:
> > Fatal error: Call to undefined method sfRoute::getObject() in /home/
> > snuber/domains/snuber.net/public_html/apps/website/modules/user/
> > actions/actions.class.php on line 30
> >
> > It is still the very same URL! The route should work, shouldn't it?
> >
>


-- 
Alexandre Salomé -- [email protected]

--~--~---------~--~----~------------~-------~--~----~
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