[Vuejs]-I can't save input to database Vuejs and Laravel

1👍

Thank you all for your comments.

I finally found the solution.

Apparently, in my controller(AssessmentController) my construct method is getting the input from AssessmentRepository (App\Repository).

public function __construct(
        Request $request,
        AssessmentRepository $repo
    ) {
        $this->request = $request;
        $this->repo = $repo;

        $this->middleware('permission:access-configuration');
        $this->middleware('academic.session.set');
    }

Then $repo is called in my store, update, show, reorder and other methods.

I’ve never seen or used App\Repositories before.

You learn every day!

Leave a comment