From 2ef388ec4aa5ed3bfc4cb53244ae99af6edf2202 Mon Sep 17 00:00:00 2001 From: Zog Date: Fri, 2 Feb 2018 09:46:06 +0100 Subject: Refs #5830; Fix RouteDecorator's duplicate action --- app/decorators/route_decorator.rb | 1 + 1 file changed, 1 insertion(+) 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], -- cgit v1.2.3