Laravel insert on DB not working by store request
I am having a problem on insert into DB with information coming from a blade form. The system is not sending to the DB and it doesn't actually through any sense error. It all seems ok and i cant find a possible mistake. Any clue on what might be happening? This is my controller: public function store(Request $request){ Task::create($request->all()); return redirect('/admin/task'); } This is my router, the problem might be coming from here, but just in case: Route::get('/admin/task/store', 'AdminTasksController@store')->name('admin/task/store');
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.