app/Http/Controllers/CnaeController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $areas = Area::all();
        return view('cnae.cadastro', ['areas' => $areas]);
    }
public function create ( ) { $ areas = Area :: all ( ) ; return view ( 'cnae.cadastro' , [ 'areas' => $ areas ] ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .
// Redireciona para página de cadastro de cnae, junto das areas já cadastradas