mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Adds gate to supplier
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
05c0819776
commit
d77a47765e
|
@ -184,6 +184,7 @@ class SuppliersController extends Controller
|
|||
*/
|
||||
public function show($supplierId = null)
|
||||
{
|
||||
$this->authorize('view', Supplier::class);
|
||||
$supplier = Supplier::find($supplierId);
|
||||
|
||||
if (isset($supplier->id)) {
|
||||
|
|
Loading…
Reference in a new issue