Skip to content

Commit

Permalink
Fix migrations & views publishing error
Browse files Browse the repository at this point in the history
  • Loading branch information
srmklive authored Aug 15, 2016
1 parent d4dec5d commit d167ba2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Providers/AuthyServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ public function boot()

if ( ! class_exists('UpdateUsersTable') ) {
$this->publishes([
__DIR__. '/../migrations/migration.php' => database_path('/migrations/' .
__DIR__. '/../../migrations/migration.php' => database_path('/migrations/' .
str_replace(':', '', str_replace('-', '_', Carbon::now()->format("Y-m-d_H:i:s"))) . '_update_users_table.php'),
]);
}

// Load Authy View Files
$this->loadViewsFrom(__DIR__.'/../views', 'authy');
$this->loadViewsFrom(__DIR__.'/../../views', 'authy');
$this->publishes([
__DIR__.'/../views' => base_path('resources/views/vendor/authy'),
__DIR__.'/../../views' => base_path('resources/views/vendor/authy'),
]);
}

Expand Down

0 comments on commit d167ba2

Please sign in to comment.