Skip to content

Commit

Permalink
Admin install fix sleeping-owl#58
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeping-owl committed Apr 3, 2015
1 parent 25cc2a3 commit 96c7741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SleepingOwl/Admin/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function fire()
{
$title = $this->option('title');

$this->call('vendor:publish');
$this->call('vendor:publish', ['--provider' => 'SleepingOwl\Admin\AdminServiceProvider']);

$this->publishDB();

Expand Down Expand Up @@ -146,7 +146,7 @@ protected function createPublicDefaultStructure()
*/
protected function publishSelfConfig($title = null)
{
$file = config_path('sleeping_owl_admin.php');
$file = config_path('admin.php');
if ( ! is_null($title))
{
$contents = $this->laravel['files']->get($file);
Expand Down

0 comments on commit 96c7741

Please sign in to comment.