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