make controller
發表於 : 2015-11-21 23:22:29
php artisan make:controller HomeController
file
app/Http/Controllers/HomeController.php
Route
Route::get('/Home', 'HomeController@index');
file
app/Http/Controllers/HomeController.php
Route
Route::get('/Home', 'HomeController@index');