diff options
| -rw-r--r-- | app/decorators/line_decorator.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/decorators/line_decorator.rb b/app/decorators/line_decorator.rb index 53053ed2c..d4a616a97 100644 --- a/app/decorators/line_decorator.rb +++ b/app/decorators/line_decorator.rb @@ -28,11 +28,6 @@ class LineDecorator < Draper::Decorator ) end - # TODO: what if false? do we delete this? - if false && h.policy(object).update? - # = link_to t('lines.actions.edit'), edit_line_referential_line_path(context[:line_referential], object), class: 'btn btn-primary' - end - if h.policy(object).destroy? links << Link.new( content: h.destroy_link_content('lines.actions.destroy_confirm'), |
