aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZog2018-02-01 15:27:33 +0100
committercedricnjanga2018-02-06 11:10:19 -0800
commit7120ef13351868898d9c01e7f9d2264a04d4136a (patch)
tree8d75aa6fa59c94d6f0815b3498de44601af48d43
parentea8c633d45b97e41894ea8c691a6b3ae434eb770 (diff)
downloadchouette-core-7120ef13351868898d9c01e7f9d2264a04d4136a.tar.bz2
Fix broken TimeTableDecorator
-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|