<%= image_tag @photo.path_modified_public("single") %>
<%= @photo.description %>
Tagged with: <% for tag in @photo.tags.map{|tag|tag.title}.sort %> <%= link_to tag, tag_photos_path(tag) %> <% end %> <% content_for :action_links do %> <% if has_role?("admin") %> <%= link_to "Edit photo", edit_photo_path(@photo) %> <% end %> <% end %>