title: Request.fullpath unless URL contains .json
body: <p>I have a RoR snippet that does the following:</p>
  
  <pre><code>request.fullpath =~ /\A\/(login|sso_login|sign_out|auth)/
  </code></pre>
  
  <p>This stores the URL unless it is one of the blacklisted URL's.  How can I make this also ignore anything that contains .json?</p>