3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-05 13:45:51 +00:00

Fixed incorrect route for groups edit

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2020-05-01 01:05:48 -07:00
parent 7eb70e17e0
commit 31c5350941

View File

@ -2,7 +2,7 @@
'createText' => trans('admin/groups/titles.create') ,
'updateText' => trans('admin/groups/titles.update'),
'item' => $group,
'formAction' => ($group !== null && $group->id !== null) ? route('groups.index', ['group' => $group->id]) : route('groups.store'),
'formAction' => ($group !== null && $group->id !== null) ? route('groups.update', ['group' => $group->id]) : route('groups.store'),
])
@section('content')