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

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?


Theme © iAndrew 2016 - Forum software by © MyBB