2009-06-28 18:02:19 +02:00
|
|
|
<ul><%= render :partial => 'photos/thumb',:collection => @photos, :as => :photo %></ul>
|
|
|
|
|
2011-04-25 07:50:07 +02:00
|
|
|
<%= content_for :action_links do %>
|
2009-06-28 18:02:19 +02:00
|
|
|
<%= link_to "Show albums containing photos tagged with #{params[:q]}", albums_path(:q => params[:q]) if params[:q] %>
|
2009-06-30 21:24:06 +02:00
|
|
|
<%= link_to "Show all photos tagged with #{params[:tag_id]}", tag_photos_path(params[:tag_id]) if params[:tag_id] && params[:album_id] %>
|
2009-06-28 18:02:19 +02:00
|
|
|
<% end %>
|