fix authroize() method
This commit is contained in:
parent
f4698c0108
commit
529ce2ece8
1 changed files with 1 additions and 2 deletions
|
|
@ -13,8 +13,7 @@ class DownloadMultipleDocumentsRequest extends FormRequest
|
|||
*/
|
||||
public function authorize()
|
||||
{
|
||||
return true;
|
||||
// return auth()->user()->can('view', $this->document);
|
||||
return auth()->user()->can('view', $this->document);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue