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