title: Routes with trailing slashes in Pyramid
body: <p>Let's say I have a route '/foo/bar/baz'.
  I would also like to have another view corresponding to '/foo' or '/foo/'. 
  But I don't want to systematically append trailing slashes for other routes, only for /foo and a few others (/buz but not /biz)</p>
  
  <p>From what I saw I cannot simply define two routes with the same route_name. 
  I currently do this:</p>
  
  <pre><code>config.add_route('foo', '/foo')
  config.add_route('foo_slash', '/foo/')
  config.add_view(lambda _,__: HTTPFound('/foo'), route_name='foo_slash')
  </code></pre>
  
  <p>Is there something more elegant in Pyramid to do this ?</p>