Skip to content

Commit

Permalink
edited KnetServiceProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
aemaddin committed Nov 27, 2019
1 parent cacb926 commit abc7a7d
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/Providers/KnetServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ public function boot()
*
* Uncomment this function call to make the config file publishable using the 'config' tag.
*/
// $this->publishes([
// __DIR__.'/../../config/knet.php' => config_path('knet.php'),
// ], 'config');
$this->publishes([
__DIR__.'/../../config/knet.php' => config_path('knet.php'),
], 'config');

/**
* Routes
*
* Uncomment this function call to load the route files.
* A web.php file has already been generated.
*/
// $this->loadRoutesFrom(__DIR__.'/../../routes/web.php');
$this->loadRoutesFrom(__DIR__.'/../../routes/web.php');

/**
* Translations
Expand Down Expand Up @@ -81,10 +81,10 @@ public function boot()
* Uncomment the first function call to load the migrations.
* Uncomment the second function call to make the migrations publishable using the 'migrations' tags.
*/
// $this->loadMigrationsFrom(__DIR__.'/../../database/migrations');
// $this->publishes([
// __DIR__.'/../../database/migrations/' => database_path('migrations')
// ], 'migrations');
$this->loadMigrationsFrom(__DIR__.'/../../database/migrations');
$this->publishes([
__DIR__.'/../../database/migrations/' => database_path('migrations')
], 'migrations');
}

/**
Expand All @@ -100,8 +100,8 @@ public function register()
* Uncomment this function call to load the config file.
* If the config file is also publishable, it will merge with that file
*/
// $this->mergeConfigFrom(
// __DIR__.'/../../config/knet.php', 'knet'
// );
$this->mergeConfigFrom(
__DIR__.'/../../config/knet.php', 'knet'
);
}
}

0 comments on commit abc7a7d

Please sign in to comment.