diff options
| author | Zog | 2018-02-01 15:27:33 +0100 |
|---|---|---|
| committer | cedricnjanga | 2018-02-06 11:10:19 -0800 |
| commit | 7120ef13351868898d9c01e7f9d2264a04d4136a (patch) | |
| tree | 8d75aa6fa59c94d6f0815b3498de44601af48d43 | |
| parent | ea8c633d45b97e41894ea8c691a6b3ae434eb770 (diff) | |
| download | chouette-core-7120ef13351868898d9c01e7f9d2264a04d4136a.tar.bz2 | |
Fix broken TimeTableDecorator
| -rw-r--r-- | app/decorators/time_table_decorator.rb | 2 |
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| |
