aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/lines/index.html.slim2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/lines/index.html.slim b/app/views/lines/index.html.slim
index 911c95e0c..d0d76d1cb 100644
--- a/app/views/lines/index.html.slim
+++ b/app/views/lines/index.html.slim
@@ -4,7 +4,7 @@
t('lines.index.title'),
'Lorem ipsum dolor sit amet',
'',
- ((policy(Chouette::Line).create? && @line_referential.organisations.include?(current_organisation)) ? link_to(t('lines.actions.new'), new_line_referential_line_path(@line_referential), class: 'btn btn-primary') : '')
+ (policy(Chouette::Line).create? ? link_to(t('lines.actions.new'), new_line_referential_line_path(@line_referential), class: 'btn btn-primary') : '')
/ PageContent
.page_content