aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/dashboards/_dashboard.html.slim4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/dashboards/_dashboard.html.slim b/app/views/dashboards/_dashboard.html.slim
index 466695b5a..ce869ee4a 100644
--- a/app/views/dashboards/_dashboard.html.slim
+++ b/app/views/dashboards/_dashboard.html.slim
@@ -11,9 +11,9 @@
div
= link_to '', workbench_path(workbench), class: ' fa fa-chevron-right pull-right', title: t('workbenches.index.offers.see')
- - if workbench.referentials.present?
+ - if workbench.all_referentials.present?
.list-group
- - workbench.referentials.limit(5).each do |referential|
+ - workbench.all_referentials.limit(5).each do |referential|
= link_to referential.name, referential_path(referential), class: 'list-group-item'
- else
.panel-body