app/Http/Controllers/FirmyController.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()
    {
        $woj = DB::table('wojewodztwa')->get();
        return view('firmy.dodaj',['woj'=>$woj]);
    }
public function create ( ) { $ woj = DB :: table ( 'wojewodztwa' ) -> get ( ) ; return view ( 'firmy.dodaj' , [ 'woj' => $ woj ] ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .