* @copyright 2018 Webkul Software Pvt Ltd (http://www.webkul.com) */ class DashboardController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ protected $_config; public function __construct() { $this->_config = request('_config'); $this->middleware('admin'); } public function index() { return view('admin::dashboard.index'); } }