diff options
| author | Alban Peignier | 2017-11-29 21:20:58 +0100 |
|---|---|---|
| committer | Alban Peignier | 2017-11-29 21:20:58 +0100 |
| commit | d1221d5d97da07a59cd709dd25a2c33b6ffbf7e5 (patch) | |
| tree | d52245735a9a7bd793b2cb73dad016db0b09d4a9 | |
| parent | 37a258f7197730e302fdf6c0c60e8e3f9cb0e13c (diff) | |
| download | chouette-core-d1221d5d97da07a59cd709dd25a2c33b6ffbf7e5.tar.bz2 | |
Remove membership test of current organisation in lines#index. Refs #4824
| -rw-r--r-- | app/views/lines/index.html.slim | 2 |
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 |
