Skip to content

Commit

Permalink
Merge pull request #170 from ultimateBusiness/master
Browse files Browse the repository at this point in the history
[Fix] - wrong call of singleton
  • Loading branch information
barryvdh authored Jan 26, 2017
2 parents 14fe6a2 + 033ff9d commit 23e1628
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->singleton('command.elfinder.publish', function($app)
$this->app->singleton('command.elfinder.publish', function($app)
{
$publicPath = $app['path.public'];
return new Console\PublishCommand($app['files'], $publicPath);
Expand Down

0 comments on commit 23e1628

Please sign in to comment.