Fixed issue with status labels

This commit is contained in:
snipe 2016-12-23 16:07:58 -08:00
parent 94a6b555a8
commit 297b9d25f0

View file

@ -281,7 +281,7 @@ class StatuslabelsController extends Controller
$actions .= Helper::generateDatatableButton('edit', route('statuslabels.edit', $statuslabel->id));
$actions .= Helper::generateDatatableButton(
'delete',
route('statuslabels.destroy'),
route('statuslabels.destroy', ['statuslabel' => $statuslabel->id]),
true, /*enabled*/
trans('admin/statuslabels/message.delete.confirm'),
$statuslabel->name