Listing shares

<% @shares.each do |share| %> <% end %>
Created On Url Project_Name Share type Edit project_id user_id
<%= 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?' } %> <%= share.project_id %> <%= share.user_id%>
QQshuqian
<%= link_to 'New Share', new_share_path %> QQshuqian