<?php

namespace App\Modules\Home\Controllers;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Services\ConexService;
use Spatie\Permission\Models\Role;
use Spatie\Permission\Models\Permission;
use App\Modules\Home\Controllers\Install;
use App\Modules\User\Models\Modules_user;
use App\User;
use Auth;
use DB;
class HomeController extends Controller
{
    /**
     * Create a new controller instance.
     *
     * @return void
     */
    public function __construct()
    {        

        $this->middleware('auth');
        //InstallController::installAction();
    }
    /**
     * Show the application dashboard.
     *
     * @return \Illuminate\Contracts\Support\Renderable
     */
    public function index()
    {   
        //$permission = Permission::create(['name' => 'list']);
        return view('Home.views.home');
    }
}
