From 64fffe783ba30b7ad9afb48ee40dd1900ad395b0 Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Mon, 5 Aug 2013 14:25:34 +0200 Subject: [PATCH] Allow on-the-fly reseller creation. --- lib/NGCP/Panel/Controller/Billing.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/NGCP/Panel/Controller/Billing.pm b/lib/NGCP/Panel/Controller/Billing.pm index b6e511a3a1..dc5cd2f378 100644 --- a/lib/NGCP/Panel/Controller/Billing.pm +++ b/lib/NGCP/Panel/Controller/Billing.pm @@ -161,7 +161,9 @@ sub create :Chained('profile_list') :PathPart('create') :Args(0) { NGCP::Panel::Utils::Navigation::check_form_buttons( c => $c, form => $form, - fields => {}, + fields => { + 'reseller.create' => $c->uri_for('/reseller/create'), + }, back_uri => $c->req->uri, ); if($posted && $form->validated) {