days ago
Modified 9 days ago
Viewed 24 times
This is the error I have
Here I attach the code in my controller $siniestro->update($request->all());
function authenticated(Request $request, $user) {
if ($user->role_id == 1) {
return redirect('siniestros.index');
} else ($user->role_id == 2) {
return redirect('siniestros.derivar');
}
};
0 comments:
Post a Comment
Thanks