map test
This commit is contained in:
parent
467eff11ba
commit
124d9c5dee
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
</div>
|
||||
|
||||
<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 %>
|
||||
<% if has_role?("admin") %>
|
||||
|
|
Loading…
Reference in a new issue