Fixed incorrect route for saving groups

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2020-05-01 01:26:15 -07:00
parent 85712a1960
commit 8ecb7969df
No known key found for this signature in database
GPG key ID: 10BFFDA3ED34B5AC

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')