Skip to content

Commit

Permalink
+ server/buy redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Aug 19, 2015
1 parent 7201011 commit d43dba5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/controllers/ServerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'
// ],
Expand Down

0 comments on commit d43dba5

Please sign in to comment.