|
@@ 86-93 (lines=8) @@
|
| 83 |
|
* @param string $group |
| 84 |
|
* @return RedirectResponse |
| 85 |
|
*/ |
| 86 |
|
public function activateGroupAction($feature, $group) |
| 87 |
|
{ |
| 88 |
|
$this->getRollout()->activateGroup($feature, $group); |
| 89 |
|
|
| 90 |
|
$this->addFlash('info', sprintf("Feature '%s' is now active in group '%s'", $feature, $group)); |
| 91 |
|
|
| 92 |
|
return $this->createRedirectToFeatureListReponse(); |
| 93 |
|
} |
| 94 |
|
|
| 95 |
|
/** |
| 96 |
|
* @param string $feature |
|
@@ 100-107 (lines=8) @@
|
| 97 |
|
* @param string $group |
| 98 |
|
* @return RedirectResponse |
| 99 |
|
*/ |
| 100 |
|
public function deactivateGroupAction($feature, $group) |
| 101 |
|
{ |
| 102 |
|
$this->getRollout()->deactivateGroup($feature, $group); |
| 103 |
|
|
| 104 |
|
$this->addFlash('info', sprintf("Feature '%s' is no longer active in group '%s'", $feature, $group)); |
| 105 |
|
|
| 106 |
|
return $this->createRedirectToFeatureListReponse(); |
| 107 |
|
} |
| 108 |
|
|
| 109 |
|
/** |
| 110 |
|
* @param Request $request |