title: How do I wrap link_to around some html ruby code?
body: <p>How do I wrap a link around view code? I can't figure out how to pass multiple lines with ruby code to a single <code>link_to</code> method. The result I am looking for is that you click the column and get the show page:</p>
  
  <pre><code>&lt;div class="subcolumns"&gt;
    &lt;div class="c25l"&gt;
          &lt;div class="subcl"&gt;
          &lt;%= image_tag album.photo.media.url(:thumb), :class =&gt; "image" rescue nil  %&gt;
          &lt;/div&gt;
      &lt;/div&gt;
    &lt;div class="c75r"&gt;
          &lt;div class="subcr"&gt;
              &lt;p&gt;&lt;%= album.created_at %&gt;&lt;/p&gt;
              &lt;%= link_to h(album.title), album %&gt;
              &lt;p&gt;&lt;%= album.created_at %&gt;&lt;/p&gt;
              &lt;p&gt;&lt;%= album.photo_count %&gt;&lt;/p&gt;
          &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>