aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 9a56fc2ee..95b1fd959 100644
--- a/app/decorators/time_table_decorator.rb
+++ b/app/decorators/time_table_decorator.rb
@@ -11,7 +11,7 @@ class TimeTableDecorator < AF83::Decorator
end
instance_decorator.edit_action_link do |l|
- l.href { [context[:referential], object] }
+ l.href { [:edit, context[:referential], object] }
end
instance_decorator.action_link if: ->{ object.calendar }, secondary: true do |l|