work on session binding.
This commit is contained in:
1 parent
a782b81104
commit
64235f438b
1 file changed
+2
-2
@@ -45,9 +45,9 @@ class HtmlServiceProvider extends ServiceProvider {
|
||||
{
|
||||
$this->app['form'] = $this->app->share(function($app)
|
||||
{
|
||||
$form = new FormBuilder($app['html'], $app['url'], $app['session']->getToken());
|
||||
$form = new FormBuilder($app['html'], $app['url'], $app['session.store']->getToken());
|
||||
|
||||
return $form->setSessionStore($app['session']);
|
||||
return $form->setSessionStore($app['session.store']);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user