Fix service option name being set wrongly after adding a new variable. closes #208
This commit is contained in:
parent
2e33b9c4e4
commit
c1bf757623
2 changed files with 2 additions and 1 deletions
|
@ -231,7 +231,7 @@ class ServiceController extends Controller
|
|||
]));
|
||||
Alert::success('Successfully added new variable to this option.')->flash();
|
||||
|
||||
return redirect()->route('admin.services.option', [$service, $option])->withInput();
|
||||
return redirect()->route('admin.services.option', [$service, $option]);
|
||||
} catch (DisplayValidationException $ex) {
|
||||
return redirect()->route('admin.services.option.variable.new', [$service, $option])->withErrors(json_decode($ex->getMessage()))->withInput();
|
||||
} catch (DisplayException $ex) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue