Sha256: 2473b97c69ab9b8af72848969b764f9c826efd58af435a0ff5598ce91fdee89a
Contents?: true
Size: 442 Bytes
Versions: 15
Compression:
Stored size: 442 Bytes
Contents
<% @authors.each do |author| %> <%= author.name %> <%= author.reverse_name %> <% if params[:partial] == 'collection' %> <%= render author.books %> <% elsif params[:partial] == 'locals' %> <% author.books.each do |book| %> <%= render :partial => 'books/book_locals', :locals => {:b => book} %> <% end %> <% else %> <% author.books.each do |book| %> <%= render book %> <% end %> <% end %> <% end %>
Version data entries
15 entries across 15 versions & 2 rubygems