photomix/app/views/photos/index.html.erb

9 lines
490 B
Plaintext
Raw Normal View History

2012-07-29 00:33:03 +02:00
<%#= render :partial => 'photos/thumb', :collection => @photos, :as => :photo %>
<%= paginate @photos %>
<%= render :partial => 'photos/row_collections' %>
<%= paginate @photos %>
2011-04-25 07:50:07 +02:00
<%= content_for :action_links do %>
2012-07-24 23:26:16 +02:00
<%= link_to "Show albums containing photos tagged with #{params[:q]}", albums_path(:q => params[:q]) if params[:q] %>
<%= link_to "Show all photos tagged with #{params[:tag_id]}", tag_photos_path(params[:tag_id]) if params[:tag_id] && params[:album_id] %>
<% end %>