w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Laravel named routes won't work on wampserver
Route::get('/', 'HomeController@showWelcome');
Route::get('post/listing',
array('uses'=>'PostController@listing','as'=>'post.listing'));
Route::get('post/single',
array('uses'=>'PostController@single','as'=>'post.single'));  

notice the ' around route names.





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.