app/Http/Controllers/TicketController.php
/**
     * Show the form for creating a new resource.
     *
     * @return Response
     */
Show the form for creating a new resource.
@return Response
Show the form for creating a new resource . @return Response
public function create()
    {
        $categories = TicketCategory::all();
        return view('ticket.create', [
            'categories' => $categories,
        ]);
    }
public function create ( ) { $ categories = TicketCategory :: all ( ) ; return view ( 'ticket.create' , [ 'categories' => $ categories , ] ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .