diff options
| author | Zog | 2018-02-02 09:46:06 +0100 |
|---|---|---|
| committer | cedricnjanga | 2018-02-06 11:11:32 -0800 |
| commit | b9b9d8141e9e5869680604559770f09d840b0683 (patch) | |
| tree | 028af2f31f0f14f1ee78395837579abb695deef1 | |
| parent | a66ec04b130baa732b24b059961a58bac33f670c (diff) | |
| download | chouette-core-b9b9d8141e9e5869680604559770f09d840b0683.tar.bz2 | |
Refs #5830; Fix RouteDecorator's duplicate action
| -rw-r--r-- | app/decorators/route_decorator.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/decorators/route_decorator.rb b/app/decorators/route_decorator.rb index 75ef20d63..fa6367924 100644 --- a/app/decorators/route_decorator.rb +++ b/app/decorators/route_decorator.rb @@ -61,6 +61,7 @@ class RouteDecorator < AF83::Decorator policy: :duplicate ) do |l| l.content h.t('routes.duplicate.title') + l.method :post l.href do h.duplicate_referential_line_route_path( context[:referential], |
