Merge pull request #197 from roberthorlings/bugfix/redirect-after-creating-rule

Bugfix in redirect after creating a new rule
This commit is contained in:
James Cole 2016-02-24 13:16:21 +01:00
commit 3a4fc65712

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.