1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00
invoiceninja/app/Http/Requests/TicketRemoveEntityRequest.php
2019-01-30 22:25:07 +11:00

14 lines
241 B
PHP

<?php
namespace App\Http\Requests;
class TicketRemoveEntityRequest extends EntityRequest
{
protected $entityType = ENTITY_TICKET;
public function authorize()
{
return $this->user()->can('edit', Ticket::class);
}
}