aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/decorators/time_table_decorator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/decorators/time_table_decorator.rb b/app/decorators/time_table_decorator.rb
index 57661c627..526537310 100644
--- a/app/decorators/time_table_decorator.rb
+++ b/app/decorators/time_table_decorator.rb
@@ -40,7 +40,7 @@ class TimeTableDecorator < Draper::Decorator
end
if h.policy(object).destroy?
- Link.new(
+ links << Link.new(
content: h.destroy_link_content,
href: h.referential_time_table_path(context[:referential], object),
method: :delete,