Sha256: e0e6039c830721d85bca5b603ea62bfe1fc9522c9d5215a810310f10ffb8e97d
Contents?: true
Size: 433 Bytes
Versions: 12
Compression:
Stored size: 433 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
12 entries across 12 versions & 1 rubygems