group(function () { Route::resource('project', 'ProjectResourceController'); }); // Public routes for project Route::get('projects/', 'ProjectPublicController@index'); Route::get('project/{slug?}', 'ProjectPublicController@show');