photomix/app/views/photos/index.html.erb
2009-06-28 18:02:19 +02:00

5 lines
251 B
Plaintext

<ul><%= render :partial => 'photos/thumb',:collection => @photos, :as => :photo %></ul>
<% content_for :action_links do %>
<%= link_to "Show albums containing photos tagged with #{params[:q]}", albums_path(:q => params[:q]) if params[:q] %>
<% end %>