title: Matching URLs with a trailing slash in Rails' routes.rb
body: <p>Is there a way to perform different routing in Rails' routes.rb depending on whether the request URL has a trailing slash? This seems difficult since the request object has its trailing slash removed, meaning a GET of <a href="http://www.example.com/about/" rel="nofollow">http://www.example.com/about/</a> has a request.url value of <a href="http://www.example.com/about" rel="nofollow">http://www.example.com/about</a>. That behavior prevents matching using <a href="http://guides.rubyonrails.org/routing.html#request-based-constraints" rel="nofollow">request-based constraints</a> as well as <a href="http://guides.rubyonrails.org/routing.html#route-globbing" rel="nofollow">route-globbing</a>.  </p>