Skip to content

Commit

Permalink
Fix publishing assets
Browse files Browse the repository at this point in the history
  • Loading branch information
Holger Lösken committed Sep 17, 2020
1 parent 248da71 commit eecfe6e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
File renamed without changes.
7 changes: 6 additions & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,13 @@ public function boot() {
if ($this->app->runningInConsole()) {
// Publish config
$this->publishes([
__DIR__ . '/../config/config.php' => config_path('magiclink.php'),
__DIR__ . '/../config/config.php' => config_path('statamic-magiclink.php'),
], 'magiclink-config');

//Publish views
$this->publishes([
__DIR__ . '/../resources/views' => resource_path('views/vendor/statamic-magiclink/views'),
], 'magiclink-views');
}
}

Expand Down

0 comments on commit eecfe6e

Please sign in to comment.