title: Replace Spaces with Dash (-) in URL
body: <p>I'm working on my first Laravel 4 project and using the eloquent ORM to retrieve rows from the database using a route. Example:</p>
  
  <p>Here is a route:</p>
  
  <pre><code>Route::get('{publisher}/{series}', function($publisher, $series)
  {
  $result = Comic::where('publisher', '=', $publisher)
  -&gt;where('series', '=', $series)
  -&gt;orderBy('issue', 'asc')
  -&gt;get();
  
  return View::make('comic')
  -&gt;with('result', $result); 
  });
  </code></pre>
  
  <p>This is supposed to be matching a url like site.com/marvel/amazing-spider-man</p>
  
  <p>Right now it only works for site.com/marvel/amazing spider-man 
  or 
  site.com/marvel/amazing%20spider-man</p>
  
  <p>How can I make sure to only use the '-' urls? I believe what I need to do is:</p>
  
  <p>a. write code that replaces the '-' with a %20 during the routing
  b. write code that replaces a %20 with a '-' during url generation</p>
  
  <p>Another consideration is that I don't really want my content to be accessible on both urls. </p>