Merge branch '5.3-fix' into 5.4

This commit is contained in:
mlantz committed 2017-05-20 15:10:43 -04:00
commit 37672ebf2f
6 files changed
+193 -29

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ class HtmlServiceProvider extends ServiceProvider
protected function registerFormBuilder()
{
$this->app->singleton('form', function ($app) {
$form = new FormBuilder($app['html'], $app['url'], $app['view'], $app['session.store']->token());
$form = new FormBuilder($app['html'], $app['url'], $app['view'], $app['session.store']->getToken(), $app['request']);
return $form->setSessionStore($app['session.store']);
});