I write
$.get("http://localhost/bookstore/public/actualizar_paginas/local/11/46", function(data){});
Mysteriously, when I debug I discover that the query is made to the following url:
http://localhost/actualizar_paginas/local/11/46
So the code doesn't work.
Any idea how to fix this?
I fix it. A stupid bug with Laravel URLs.
I actually wrote:
http://localhost/bookstore/public/actualizar_paginas/local/11/46/
And it get fixed if I write:
http://localhost/bookstore/public/actualizar_paginas/local/11/46
It looks like that the debugger of firefox was changing the url but it didn't affect the page at all.
Thank you.