Skip to content

Commit

Permalink
Change shared to singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh authored Jan 25, 2017
1 parent aaf081f commit 14fe6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ElfinderServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function register()
$this->mergeConfigFrom($configPath, 'elfinder');
$this->publishes([$configPath => config_path('elfinder.php')], 'config');

$this->app['command.elfinder.publish'] = $this->app->share(function($app)
$this->singleton('command.elfinder.publish', function($app)
{
$publicPath = $app['path.public'];
return new Console\PublishCommand($app['files'], $publicPath);
Expand Down

0 comments on commit 14fe6a2

Please sign in to comment.