Navigation Menu

Skip to content

Commit

Permalink
move config to root
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Dec 29, 2015
1 parent 09fab20 commit 2fde505
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
File renamed without changes.
Empty file removed resources/views/.gitkeep
Empty file.
10 changes: 6 additions & 4 deletions src/SkeletonServiceProvider.php
Expand Up @@ -11,22 +11,24 @@ class SkeletonServiceProvider extends ServiceProvider
*/
public function boot()
{
$this->loadViewsFrom(__DIR__.'/../resources/views', 'skeleton');

$this->publishes([
__DIR__.'/../resources/config/skeleton.php' => config_path('skeleton.php'),
__DIR__.'/../config/skeleton.php' => config_path('skeleton.php'),
], 'config');

/*
$this->loadViewsFrom(__DIR__.'/../resources/views', 'skeleton');
$this->publishes([
__DIR__.'/../resources/views' => base_path('resources/views/vendor/skeleton'),
], 'views');
*/
}

/**
* Register the application services.
*/
public function register()
{
$this->mergeConfigFrom(__DIR__.'/../resources/config/config.php', 'skeleton');
$this->mergeConfigFrom(__DIR__.'/../config/config.php', 'skeleton');
}
}

0 comments on commit 2fde505

Please sign in to comment.