fill($request->validated()); if ($gammehook->saveOrFail()) { return to_route('bo.gammehooks.edit', $gammehook->slug) ->with('success', trans(__('Changes_saved'))); } return to_route('bo.gammehooks.edit', $gammehook->slug) ->with('error', trans(__('Changes_failed'))); }); } }