need redirect to collaborates blade file after form data saving in projectcontroller
$project->save();
return redirect()->route('projects.collaborators')->with('info','Your Project has been created successfully');
}
routes is this
Route::get('/collaborators', function(){
return view('projects.collaborators');
});
collaborators blade file is in projects folder in view file.
but occured this error message
Route [projects.collaborators] not defined.
how to fix this problem
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2wecU2o
via IFTTT
Aucun commentaire:
Enregistrer un commentaire