aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcedricnjanga2018-02-21 06:17:25 -0800
committercedricnjanga2018-02-21 06:17:25 -0800
commit5abbd1175af241d4a247452a2c1dd132587fda2e (patch)
treed9b65f5dc5f393644bc59b9ab0c1701280f692f6
parent8e751acfb400978d45ae78e937e5401a4d118b5d (diff)
downloadchouette-core-5947_fix_route_duplicate_action_link.tar.bz2
Refs #5947 Remove POST method from Route#duplicate action link5947_fix_route_duplicate_action_link
-rw-r--r--app/decorators/route_decorator.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/decorators/route_decorator.rb b/app/decorators/route_decorator.rb
index fa6367924..75ef20d63 100644
--- a/app/decorators/route_decorator.rb
+++ b/app/decorators/route_decorator.rb
@@ -61,7 +61,6 @@ 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],