title: Rails 4.2 with Kaminari 0.17.0 - how to change "?page=x" to "/x" (ie no query string)
body: <p>Whilst I understand that Tim Berners Lee <a href="https://www.rfc-editor.org/rfc/rfc3986#section-3.4" rel="nofollow noreferrer">specified</a> the use of ? for dynamic url segments, the client on my project doesn't want them.</p>
  <p>So does anyone know how, using Kaminari for paging, I can change the routing to replace:</p>
  <pre><code>domain.com/searchresults?page=x
  </code></pre>
  <p>with</p>
  <pre><code>domain.com/searchresults/x
  </code></pre>
  <p>Obviously, this has to work when you click next page, prev page etc so that the url always changes x to the correct page number.</p>