Rename admin controllers to reflect namespace

This commit is contained in:
Jonny Barnes 2017-03-01 17:16:48 +00:00
parent 430e5bb748
commit a7ebc9a24f
7 changed files with 35 additions and 70 deletions

View file

@ -1,37 +0,0 @@
<?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
class AdminController extends Controller
{
/*
|--------------------------------------------------------------------------
| Admin Controller
|--------------------------------------------------------------------------
|
| Here we have the logic for the admin cp
|
*/
/**
* Set variables.
*
* @var string
*/
public function __construct()
{
$this->username = config('admin.user');
}
/**
* Show the main admin CP page.
*
* @return \Illuminate\View\Factory view
*/
public function showWelcome()
{
return view('admin.welcome', ['name' => $this->username]);
}
}