Questions tagged [resource-router-middleware]

3 questions
0
votes
1 answer

i am not able to interact with store method using resource route

I want to store all the records in my database, and I am using the resource route, but when I am submitting my form, data is not going to save in my database and on the other hand, it redirects me to post.create route. These are my Routes, and I am…
0
votes
2 answers

How to pass multiple parameters to laravel named resource route

I have a named route. I want to pass two parameters to the 'edit' action (for example {id} and {month}). I tried to pass parameters through an array, but still not working. Route::resource('admin/worktimes', 'WorktimesController')->names([ …
0
votes
1 answer

Supertest async callback was not invoked

I'm getting the following issue by trying to test a minimalist example with supertest (and jest): Timeout - Async callback was not invoked within the 60000ms timeout specified by jest.setTimeout. Please note that this is not a duplicate of the…
Juicy
  • 11,840
  • 35
  • 123
  • 212