THIS IS A QUESTION FOR LARAVEL 3
Given the following route
Route::get(\'groups/(:any)\', array(\'as\' => \'group\', \'uses\' =>
This is what you need in 1 line of code.
Route::get('/groups/{groupId}', 'GroupsController@getShow');
Suggestion: Use CamelCase as opposed to underscores, try & follow PSR-* guidelines.
Hope it helps.