fixed signed routes
This commit is contained in:
		| @@ -13,6 +13,10 @@ class InvoiceShow extends FormRequest | ||||
|      */ | ||||
|     public function authorize() | ||||
|     { | ||||
|         if (auth()->guest()) { | ||||
|             return true; | ||||
|         } | ||||
|  | ||||
|         return $this->invoice->contact_id == user()->contact->id; | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user