<?php namespace App\Http\Controllers; class AdminController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { // } /** * Show the application dashboard to the user. * * @return Response */ public function index() { return view('admin', ['nameRoute' => 'Admin']); } }