scinote-web/app/views/projects/index/_team_projects.html.erb

10 lines
319 B
Text
Raw Normal View History

2020-11-25 16:50:34 +08:00
<% cards.each do |card| %>
<% cache [current_user, card] do %>
<% if card.is_a? Project %>
<%= render partial: 'projects/index/project_card', locals: { project: card } %>
<% else %>
<%= render partial: 'projects/index/folder_card', locals: { folder: card } %>
<% end %>
<% end %>
2020-11-03 15:07:17 +08:00
<% end %>