Listing shares

<% @shares.each do |share| %> <% end %>
Created On Url Title Share type
<%= share.created_on %> <%= share.url %> <%= share.title %> <%= share.share_type %> <%= link_to 'Show', share %> <%= link_to 'Edit', edit_share_path(share) %> <%= link_to 'Destroy', share, method: :delete, data: { confirm: 'Are you sure?' } %>
QQshuqian
<%= link_to 'New Share', new_share_path %> QQshuqian