sorry i'm a laravel newbie - here's my route code:
Route::get('shop/{id}', function($id)
{
});
$id represents the shop category id and i would like to pass id to a controller-action like shop\StartController@showarticles
i'm only used to this syntax:
Route::get('/', 'shop\StartController@show');
how would i do that? thanks
Route::get('shop/{id}', array('as' => 'shop', 'uses' => 'ShopController@index'))