Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Commit

Permalink
Changing the name of the config file to bitly4laravel
Browse files Browse the repository at this point in the history
  • Loading branch information
jelovac committed Feb 19, 2015
1 parent acacf23 commit be94db1
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function boot()
{
$configPath = __DIR__ . '/../../../config/config.php';
$paths = array(
$configPath => config_path("packages/jelovac/bitly4laravel/config.php"),
$configPath => config_path("bitly4laravel.php"),
);
$this->publishes($paths, 'config');
}
Expand All @@ -26,8 +26,6 @@ public function boot()
*/
public function register()
{
$configPath = config_path("packages/jelovac/bitly4laravel/config.php");
$this->mergeConfigFrom($configPath, 'bitly4laravel');
$this->app['bitly4laravel'] = $this->app->share(function($app) {
$config = $app['config']->get('bitly4laravel');
return new Bitly4laravel($config);
Expand Down

0 comments on commit be94db1

Please sign in to comment.