РИ
Size: a a a
РИ
РИ
AP
MM
РИ
if(Auth::user()->can('edit-profile',$profile)){
}else{
}MM
if(Auth::user()->can('edit-profile',$profile)){
}else{
}РИ
ДК
MM
Д
The stream or file "/var/www/laravel.test/storage/logs/laravel.log" could not be opened in append mode: failed to open stream: Permission deniedРИ
public function edit(Profile $profile){
if(Auth::user()->cant('edit-profile',$profile)){
return redirect()->route()
}
return view()
}ДК
The stream or file "/var/www/laravel.test/storage/logs/laravel.log" could not be opened in append mode: failed to open stream: Permission deniedРИ
Д
MM
РИ
AP
The stream or file "/var/www/laravel.test/storage/logs/laravel.log" could not be opened in append mode: failed to open stream: Permission deniedAP
Д