This commit is contained in:
Espen Antonsen 2009-06-29 00:17:06 +02:00
parent 467eff11ba
commit 124d9c5dee

View file

@ -18,7 +18,7 @@
</div> </div>
<p><%= @photo.description %></p> <p><%= @photo.description %></p>
<p>Tagged with: <%= @photo.tags.map {|tag| (link_to tag.title, tag_photos_path(tag) ) + " " } %></p> <p>Tagged with: <%= @photo.tags.find(:all).map {|tag| tag.title } %></p>
<% content_for :action_links do %> <% content_for :action_links do %>
<% if has_role?("admin") %> <% if has_role?("admin") %>