Closed Fed03 closed 10 years ago
I did test it locally and can't replicate the issue, see https://github.com/crynobone/lightbulb/tree/test/ajax-resources
As soon as I can test it, I'll let you know
@Fed03 okay, you can also try to make it fail and send a PR for the failing. So I can test the same code at my end.
Fixed on orchestra/resources v2.0.5 & v2.1.1
ty @crynobone ^
Hi, this is the setup
now this configuration gives
NotFoundHttpException
but if I remove the data from the js like thisthe
NotFoundHttpException
error vanishes instead it gives me the obvious error on$translation = $this->translation->find(Input::get('translationId'));
this, however, tells us that it reached the right method.The only way that works with sending data is to add a
return
statement inside the controller method likewith this small addition everything works as intended but only because I don't care about data sent back to the client in this case.
Hope to have explained the problem throughly