Cache project row on dashboard, group and user page

This commit is contained in:
Dmitriy Zaporozhets 2015-03-05 09:43:41 -08:00
parent 119ebe30a6
commit 38862308f0

View file

@ -1,4 +1,5 @@
= link_to project_path(project), class: dom_class(project) do
= cache [project, controller.controller_name, controller.action_name] do
= link_to project_path(project), class: dom_class(project) do
- if avatar
.dash-project-avatar
= project_icon(project, alt: '', class: 'avatar project-avatar s40')