I have added a custom function to save pictures and added the route as well and when I reference the route it does work but when visiting it gives error that the function can not be found with reflectionexception error ReflectionException
Function () does not exist
Controller ----------------------
/**
* show the form for uploading profile picture
*
* @return \Illuminate\Http\Response
*/
public function changePicture()
{
return view('usersinformation.profilepicture');
}
route web.php ---------------------------
Route::get('usersinformation/changePicture',[usersinformationController::class, 'changePicture'])->name('usersinformation.changePicture');
Route::post('usersinformation/savePicture', 'usersinformationController@savePicture');
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3dDJHFo
via IFTTT
Aucun commentaire:
Enregistrer un commentaire