title: Ruby on Rails get URL and use it within an if statement
body: <p>I have a ruby on rails application, and want to display an image on the index page depending on what the URL is. If the url is: <code>localhost:3000/products/multi_find</code> I do not want to show the image, if it is anything else I do want it to be shown.</p>
  
  <p>Is their a way I can retrieve the url and store it in a variable to run an <code>&lt;&amp; if statement like: if url != localhost:3000/products/multi_find &amp;&gt;&lt;%= image tag "test.png", :size =&gt; "15x18" %&gt; &lt;% end %&gt;</code></p>
  
  <p>Thank you in advance.</p>