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