make controller

http://laravel.com/

http://kejyun.github.io/Laravel-4-Docum ... roduction/
回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

make controller

文章 yehlu »

php artisan make:controller HomeController

file
app/Http/Controllers/HomeController.php

Route
Route::get('/Home', 'HomeController@index');
回覆文章

回到「laravel」