Welcome Guest, Not a member yet? Register   Sign In
ajax url not accepting controller?
#1

[eluser]Gukkie[/eluser]
Hi, i have an ajax function which has a url of, and it works just fine:

url : 'refresh_captcha'

Now, this is the function in the user controller, if i add the controller as such:

url : 'user/refresh_captcha'

It does not work as it shows the url as: http://mysite/user/user/refresh_captcha

It seems to call the controller by default already, is this normal or am i doing something wrong?

Cheers!


Messages In This Thread
ajax url not accepting controller? - by El Forum - 11-13-2011, 11:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB