1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2024-11-24 19:33:07 +01:00

Retrieve envConfig in EnvironmentController

Ref #343
This commit is contained in:
Moritz Fromm 2019-10-10 17:31:05 +02:00
parent 6b85d2398c
commit 67cc30305b
No known key found for this signature in database
GPG Key ID: 9767CFDD10C4FC71

View File

@ -94,6 +94,8 @@ class EnvironmentController extends Controller
*/
public function saveWizard(Request $request, Redirector $redirect)
{
$envConfig = $this->EnvironmentManager->getEnvContent();
$rules = config('installer.environment.form.rules');
$messages = [
'environment_custom.required_if' => trans('installer_messages.environment.wizard.form.name_required'),