6 lines
No EOL
389 B
Text
6 lines
No EOL
389 B
Text
<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] %>
|
|
<%= link_to "Show all photos tagged with #{params[:tag_id]}", tag_photos_path(params[:tag_id]) if params[:tag_id] && params[:album_id] %>
|
|
<% end %> |