3 months ago

Route Error Forbidden

Posted 3 months ago by muazzamazaz

I have a route like this

   Route::resource('VisitorPlan', 'VisitorPlanController', [
        'names' => [
            'index'   => 'VisitorPlan',
            'destroy' => 'VisitorPlan.destroy',


  public function create()
        return view('VisitorPlan.add-VisitorPlan')->with($data);

<form action='VisitorPlan/create' >
                  <input class="btn btn-block" type="submit" value="Create Plane" style="margin-bottom: 100px;margin-top: 50PX;">

Gives error


It seems controller function Create is being called from route.

Please sign in or create an account to participate in this conversation.