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 fixed it, it was a stupid bug with Laravel URLs. I actually wrote:
http://localhost/bookstore/public/actualizar_paginas/local/11/46/
And it is 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.