diff options
Diffstat (limited to 'app/views/referentials')
| -rw-r--r-- | app/views/referentials/show.html.slim | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/views/referentials/show.html.slim b/app/views/referentials/show.html.slim index 9852fb0a3..96755359c 100644 --- a/app/views/referentials/show.html.slim +++ b/app/views/referentials/show.html.slim @@ -68,7 +68,7 @@                ), \                TableBuilderHelper::Column.new( \                  key: 'companies.name', \ -                attribute: Proc.new { |n| n.try(:company).try(:name) } \ +                attribute: Proc.new { |n| n&.company&.name || "-" } \                ) \              ],              links: [:show], | 
