Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public function edit($id) { //$ticket = Ticket::findOrFail($id); $data = array('ticket' => Ticket::findOrFail($id), 'users' => User::lists('name', 'id')); return View('tickets.edit', $data); //return view('tickets.edit')->withTicket($ticket); }