updated commit
This commit is contained in:
@@ -1,25 +1,26 @@
|
||||
<?php namespace App\Http\Controllers\Admin;
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Admin;
|
||||
|
||||
/**
|
||||
* --------------------------------------------
|
||||
* WelcomeController
|
||||
* --------------------------------------------
|
||||
* This controller renders the "marketing page" for the application and
|
||||
* is configured to only allow guests. Like most of the other sample
|
||||
* controllers, you are free to modify or remove it as you desire.
|
||||
*
|
||||
* @package Controllers
|
||||
* @subpackage Controller
|
||||
* @author Ladybird <info@ladybirdweb.com>
|
||||
*/
|
||||
class WelcomeController extends Controller {
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Welcome Controller
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This controller renders the "marketing page" for the application and
|
||||
| is configured to only allow guests. Like most of the other sample
|
||||
| controllers, you are free to modify or remove it as you desire.
|
||||
|
|
||||
*/
|
||||
|
||||
/**
|
||||
* Create a new controller instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
public function __construct() {
|
||||
$this->middleware('guest');
|
||||
}
|
||||
|
||||
@@ -28,8 +29,7 @@ class WelcomeController extends Controller {
|
||||
*
|
||||
* @return Response
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
public function index() {
|
||||
return view('welcome');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user