hadis
3 months ago
316
4
Laravel

method not recognized

Posted 3 months ago by hadis

I call syncFiles() and updatesyncFiles() in web but it not recognized!!

Route:

Route::get("/singlefile/sync","[email protected]");
Route::post("/singlefile/updatesync","[email protected]");

controller:

 public  function syncFiles(){
        $files = Storefile::all();
        return view('admin.SingleProduct.CreateFile'  , compact('files'));
    }
   public  function updatesyncFiles(){
            return view('admin.SingleProduct.indexfiles');
    }

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