title: Sinatra easily get current path
body: <p>I am using Sinatra and in erb, every time I had to generate a link, I have to hardcode it like this:</p>
  
  <pre><code>&lt;li&gt;&lt;a href=&lt;%="/admin/users?page=#{i}"%&gt;&gt;&lt;%=i%&gt;&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>Is there an easier, more "scalable" way to get the string "/admin/users?page=" and do this? </p>