How to reroute a resource to include a different field besides $id in Laravel 4 <p>I have a resource controlling one of my tables "fans". I have a view that shows the information for each respective. The urls for these right now is "url.com/fans/{$id}", where {$id} is the unique id for the row/object in the table.</p> <p>I would like to maintain this relationship, but I would also like to the url be pointed to another column in the table (another unique identifier). So something like "ulr.com/fans/{$new_column}". </p> <p>How would I reroute this view/url so that it appears like that? This is what I have so far:</p> <p>Routes: </p> <pre><code>Route::resource('fans', 'FansController'); </code></pre> <p>FansController:</p> <pre><code>public function show($id) { $fan = Fan::find($id); return View::make('fans.show', compact('fan')); } </code></pre> <p>So ultimately, I would like "url.com/fans/{$id}" to still work, but then it will be rerouted to "url.com/fans/{$new_column}". And going directly to "url.com/fans/{$new_column} should just stay there. </p>