Permalink
Browse files

Add sites.url to a thumbnail on sites#show view.

  • Loading branch information...
1 parent 8473312 commit e993feaad255561cd5be74d39c935fb3bf7f428f @ppworks committed Apr 21, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 app/views/sites/show.html.erb
@@ -2,7 +2,11 @@
<%=render 'shared/sns_buttons', :site => @site %>
<section id="show" class="well">
<h1><%= @site.name %></h1>
-<p><%=image_tag "http://capture.heartrails.com/large/delay=1?#{@site.url}" %></p>
+<p>
+ <%=link_to @site.url do %>
+ <%=image_tag "http://capture.heartrails.com/large/delay=1?#{@site.url}" %>
+ <% end %>
+</p>
<div>
<%= simple_format auto_link(@site.description, :link => :urls, :html => {:target => '_blank'}) %>
</div>

0 comments on commit e993fea

Please sign in to comment.