Skip to content

Commit

Permalink
Update HtmlServiceProvider.php
Browse files Browse the repository at this point in the history
  • Loading branch information
robindirksen1 authored Jan 26, 2017
1 parent 30aeeba commit dad3a76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HtmlServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function register()
*/
protected function registerHtmlBuilder()
{
$this->app->bindShared('html', function($app)
$this->app->singleton('html', function($app)
{
return new HtmlBuilder($app['url']);
});
Expand All @@ -46,7 +46,7 @@ protected function registerHtmlBuilder()
*/
protected function registerFormBuilder()
{
$this->app->bindShared('form', function($app)
$this->app->singleton('form', function($app)
{
$form = new FormBuilder($app['html'], $app['url'], $app['session.store']->getToken());

Expand Down

0 comments on commit dad3a76

Please # to comment.