Skip to content

Commit

Permalink
Updated Laravel 5 loader
Browse files Browse the repository at this point in the history
  • Loading branch information
eusonlito committed Feb 9, 2015
1 parent 5fa1396 commit 4a255ea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Laravel/Meta/MetaServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ class MetaServiceProvider extends ServiceProvider
*/
public function boot()
{
$this->package('laravel/meta');
$this->publishes([
__DIR__.'/../../config/config.php' => config_path('meta.php'),
], 'config');
}

/**
Expand All @@ -29,7 +31,7 @@ public function boot()
*/
public function register()
{
$this->app->bindShared('meta', function () {
$this->app['mutlucell'] = $this->app->share(function($app) {
return new Meta($this->config());
});
}
Expand Down

0 comments on commit 4a255ea

Please sign in to comment.