title: How to check current page if at show action without passing id
body: <p>Is there a way to use current_page? to check if the user is at posts/x where x is any number? I am trying to use facebook's OG meta tags but I need to only show them if the user is at the show action of my Posts Controller.</p>
  
  <p>What I currently have (yields an error because of the lack of id):</p>
  
  <pre><code>&lt;%if current_page?(controller:"posts",action:"show")%&gt;
  &lt;meta property="og:title" content=" &lt;%= @post.title %&gt;" /&gt;
  &lt;meta property="og:description" content="&lt;%= @post.body.html_safe %&gt;" /&gt;
  &lt;meta property="og:image" content="&lt;%=URI.join(request.url,@post.news_image.url) %&gt;" /&gt;
  &lt;%end%&gt;
  </code></pre>
  
  <p>I plan to put this in the Header part of my application.html.erb, hence the need to find a way to determine if the current page is the show action. Any ideas on how I can use current_page or any other solutions?</p>