aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZog2018-02-01 15:27:33 +0100
committerZog2018-02-01 15:27:33 +0100
commitff3d2d5caf08f4b09d45b4b105d9180d747e7bda (patch)
tree32fd539b3b8cee25146fb65c2c9ed4b3dccfddc3
parentd896ba8753f9877dfd29a97cf1310d54d0b25874 (diff)
downloadchouette-core-ff3d2d5caf08f4b09d45b4b105d9180d747e7bda.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|