修改Controller與View的頁面與Router架構

This commit is contained in:
2018-08-05 18:03:00 +08:00
parent b7621addd3
commit 984e851e97
14 changed files with 120 additions and 168 deletions

View File

@@ -0,0 +1,29 @@
<?php
namespace App\Http\Controllers\Home;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
// $this->middleware('auth');
}
/**
* Show the application dashboard.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
return view('home.index');
}
}