Laravel4
今回は、index.phpを違う方法で表示させました。 前回は、以下のように表示させましたが、 Route::get('/', function(){ return View::make('main.index'); }); 今回は、このような感じです。 Route::get('/', 'HomeController@showWelcome'); 意味としては…
今回は、index.phpを違う方法で表示させました。 前回は、以下のように表示させましたが、 Route::get('/', function(){ return View::make('main.index'); }); 今回は、このような感じです。 Route::get('/', 'HomeController@showWelcome'); 意味としては…