diff options
| author | Zog | 2018-02-02 09:46:06 +0100 |
|---|---|---|
| committer | Zog | 2018-02-02 09:46:06 +0100 |
| commit | 2ef388ec4aa5ed3bfc4cb53244ae99af6edf2202 (patch) | |
| tree | c49c364e383fe73ec48b9c223963c41b36f08900 | |
| parent | 6b29758a5f183a6f88759a59b4441588b0af0239 (diff) | |
| download | chouette-core-5830-fix-route-duplication-button.tar.bz2 | |
Refs #5830; Fix RouteDecorator's duplicate action5830-fix-route-duplication-button
| -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 7e3ea889f..f9870fbbe 100644 --- a/app/decorators/route_decorator.rb +++ b/app/decorators/route_decorator.rb @@ -75,6 +75,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], |
