Commit 130249f3

luu stiles <luuduong@gmail.com>
2012-06-12 13:39:20
nofollow on images gallery
1 parent f6ace8f
Changed files (1)
app/views/shared/_creation_image_gallery.html.erb
@@ -2,7 +2,7 @@
   <% @creations.each do |creation| %>
     <li class="span3">
     <div class="thumbnail">
-      <a href="<%= url_for creation %>"><img src="<%= creation.image.thumb.url %>" alt="<%= creation.name %>" width="260" /></a>
+      <a href="<%= url_for creation %>"><img src="<%= creation.image.thumb.url %>" alt="<%= creation.name %>" rel="nofollow" width="260" /></a>
       <div class="caption">
         <h5><a href="<%= url_for creation %>"><%= short_name(creation, 20) %></a></h5>
         <h6><a href="<%= url_for profile_path(creation.user) %>"><%= creation.user.name %></a></h6>