1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Working on custom route model binding

This commit is contained in:
Hillel Coren 2016-04-28 15:23:09 +03:00
parent 1a47598aea
commit 4b764ea72e

View File

@ -4,6 +4,11 @@ class ClientRequest extends BaseRequest {
protected $entityType = ENTITY_CLIENT;
public function entity()
{
return parent::entity()->load('contacts');
}
public function authorize()
{
return true;