From d43dba5974fa189cca8bcfc58dc565664254f710 Mon Sep 17 00:00:00 2001 From: Andrii Vasyliev Date: Wed, 19 Aug 2015 14:02:29 +0000 Subject: [PATCH] + server/buy redirect --- src/controllers/ServerController.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/controllers/ServerController.php b/src/controllers/ServerController.php index c61f5956..9f3bc005 100644 --- a/src/controllers/ServerController.php +++ b/src/controllers/ServerController.php @@ -119,6 +119,10 @@ public function actions() 'success' => 'Power on task has been successfully added to queue', 'error' => 'Error while turning power on', ], + 'buy' => [ + 'class' => 'hipanel\actions\RedirectAction', + 'url' => Yii::$app->params['orgUrl'], + ], // 'reboot' => [ // 'class' => 'hipanel\actions\SmartUpdateAction' // ],