mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Fixed incorrect route for saving groups
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
85712a1960
commit
8ecb7969df
|
@ -2,7 +2,7 @@
|
||||||
'createText' => trans('admin/groups/titles.create') ,
|
'createText' => trans('admin/groups/titles.create') ,
|
||||||
'updateText' => trans('admin/groups/titles.update'),
|
'updateText' => trans('admin/groups/titles.update'),
|
||||||
'item' => $group,
|
'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')
|
@section('content')
|
||||||
|
|
Loading…
Reference in a new issue