Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Commit

Permalink
revert another breaking change, should fix #45 and #48
Browse files Browse the repository at this point in the history
  • Loading branch information
martinlindhe committed Mar 6, 2018
1 parent 49bc4c9 commit 0dcfb5a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/GeneratorProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ class GeneratorProvider extends ServiceProvider
*/
public function boot()
{
$this->app->singleton('vue-i18n.generate', function () {
return new Commands\GenerateInclude;
});

$this->commands(
'vue-i18n.generate'
);
Expand All @@ -39,9 +43,6 @@ public function boot()
*/
public function register()
{
$this->app->singleton('vue-i18n.generate', function ($app) {
return new Generator($app['config']['vue-i18n-generator']);
});
}

/**
Expand Down

0 comments on commit 0dcfb5a

Please sign in to comment.