app/Http/Controllers/EmpresaController.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()
    {
        $empresa = null;
        $ciudad  = Ciudad::orderBy('ciudad')->get()->pluck('ciudad', 'id');
        return view('empresa.form', compact('empresa', 'ciudad'));
    }
public function create ( ) { $ empresa = null ; $ ciudad = Ciudad :: orderBy ( 'ciudad' ) -> get ( ) -> pluck ( 'ciudad' , 'id' ) ; return view ( 'empresa.form' , compact ( 'empresa' , 'ciudad' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .