/** * Actual process of updating Ticket * * @param Ticket $ticket * @param Request $request * @return \Illuminate\Http\RedirectResponse */ public function update(Ticket $ticket, Request $request) { $ticket->update($request->all()); session()->flash('flash_message', 'You have successfully updated the ticket'); return redirect()->route('show_ticket', [$ticket]); }