Skip to content
This repository has been archived by the owner on Feb 26, 2018. It is now read-only.

Commit

Permalink
Use token instead of getToken
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Jan 31, 2017
1 parent 1eb305d commit b5a1e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AdamWathan/Form/FormServiceProvider.php
Expand Up @@ -37,7 +37,7 @@ protected function registerFormBuilder()
$formBuilder = new FormBuilder;
$formBuilder->setErrorStore($app['adamwathan.form.errorstore']);
$formBuilder->setOldInputProvider($app['adamwathan.form.oldinput']);
$formBuilder->setToken($app['session.store']->getToken());
$formBuilder->setToken($app['session.store']->token());

return $formBuilder;
});
Expand Down

0 comments on commit b5a1e8a

Please sign in to comment.