From 572eba788682012d605b25a187eb5c9236d3a81c Mon Sep 17 00:00:00 2001 From: Marco Capetta Date: Tue, 6 Jun 2023 16:36:38 +0200 Subject: [PATCH] MT#56181 Fix link of AutoAttendant edit slots From the very origin of the AA module the link used in panel to create/edit the AA slots were '/preferences/speeddial/edit'. This is wrong and most probably coming from a copy and paste of the speeddial feature. The commit fix the link and it is now chaged to the following '/preferences/autoattendant/edit'. Change-Id: I095b433cad78fb0175b0551fcfdea85815f73cdf (cherry picked from commit 28340ce871aa0d35aa65461e4eb5d7541b5350e7) --- lib/NGCP/Panel/Controller/Subscriber.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NGCP/Panel/Controller/Subscriber.pm b/lib/NGCP/Panel/Controller/Subscriber.pm index f307848eca..1e004a32c1 100644 --- a/lib/NGCP/Panel/Controller/Subscriber.pm +++ b/lib/NGCP/Panel/Controller/Subscriber.pm @@ -5123,7 +5123,7 @@ sub delete_autoattendant :Chained('autoattendant') :PathPart('delete') :Args(0) $c->uri_for_action('/subscriber/preferences', [$c->req->captures->[0]])); } -sub edit_autoattendant :Chained('base') :PathPart('preferences/speeddial/edit') :Args(0) { +sub edit_autoattendant :Chained('base') :PathPart('preferences/autoattendant/edit') :Args(0) { my ($self, $c) = @_; $c->detach('/denied_page')