Fix getToken() for token().

This commit is contained in:
Sebastien Routier committed 2017-08-04 19:26:20 -04:00
1 parent a47a02b962
commit b91158bae5
1 file changed
+1 -1
+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']->getToken(), $app['request']);
$form = new FormBuilder($app['html'], $app['url'], $app['view'], $app['session.store']->token(), $app['request']);
return $form->setSessionStore($app['session.store']);
});