Bugfix in redirect after creating a new rule

This commit is contained in:
Robert Horlings 2016-02-24 10:21:04 +01:00
parent 07f4995c8f
commit 9ce9caba02

View File

@ -263,7 +263,7 @@ class RuleController extends Controller
// set value so create routine will not overwrite URL:
Session::put('rules.rule.create.fromStore', true);
return redirect(route('rules.rule.create', [$request->input('what')]))->withInput();
return redirect(route('rules.rule.create', [$ruleGroup]))->withInput();
}
// redirect to previous URL.