app/Http/Controllers/HomeController.php
/**
     * Show the application dashboard.
     *
     * @return \Illuminate\Contracts\Support\Renderable
     */
Show the application dashboard.
@return \Illuminate\Contracts\Support\Renderable
Show the application dashboard . @return \ Illuminate \ Contracts \ Support \ Renderable
public function index(User $users)
    {
            return view('home');
    }
public function index ( User $ users ) { return view ( 'home' ) ; }
Show the application dashboard.
Show the application dashboard .
// dd($municipiosGeo); //print_r($meuArray); // $per = User::recuperaPerfil(); // $perfil = Session::get(); //  $id = 1; //  $users = User::where('id',$id)->first(); //  $perfis = $users->meuPerfil()->first(); //  dump($users); //  dd($perfis->perfil_id); // //$this->authorize('lista-usuario',) // if (Gate::denies('administrador', $per)) { // } else { //     abort(403,'não Autorizado'); // } // $dateStart = new DateTime('2017-02-08'); // $dateNow   = new DateTime('2017-02-18'); // // $dateNow   = new DateTime(date('Y-m-d')); // $dateDiff = $dateStart->diff($dateNow); // //dd($dateDiff->days); // $unidades = Unidade::get(); // return view('home',compact('unidades'));