Is it possible to reorder or ignore parameters in controller routes?
问题 The question title is the most explicit I could think of, but here's a use case/example for clarity's sake: Say I define the following route to show an article: Route::get('article/{slug}/{id}', 'ArticleController@show'); ... class ArticleController extends BaseController { public function show($id) { return View::make('article')->with('article', Article::find($id)); } } This won't work, as show will misake the $id parameter with the $slug parameter. Is there a way to pass only the $id