Monday, September 28, 2009

Re: Routing related issue

I believe the problem was that you were giving jQuery an incomplete
URL. It should be:
url: '/publishers/update_city_select'

On Mon, Sep 28, 2009 at 12:37 AM, stevel <isignin@gmail.com> wrote:
>
>
> I figured it out finally. To solve the problem, I use the $html->url
> helper.
> In this case it will be
>
> url: "<?php echo $html->url('/publishers/update_city_select'); ?>"
>
> Perhaps this might help someone else with the same problem.
>
> cheers,
> Steve
>
> >
>

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

No comments: