Skip to content

Commit 754e5b2

Browse files
committed
fixed publish commands
1 parent 210c88e commit 754e5b2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/Authentication/AuthenticationServiceProvider.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function boot()
7474

7575
$this->registerCommands();
7676

77-
$this->publishData();
77+
$this->setupPublishDataCommand();
7878

7979
$this->overwriteSentryConfig();
8080
}
@@ -200,7 +200,7 @@ protected function useMiddlewareCustomConfig()
200200
}
201201

202202

203-
protected function publishData()
203+
protected function setupPublishDataCommand()
204204
{
205205
$this->publishAssets();
206206
$this->publishConfig();
@@ -211,9 +211,9 @@ protected function publishData()
211211
protected function publishAssets()
212212
{
213213
$this->publishes([
214-
__DIR__ .
215-
'/../../public/packages/jacopo/laravel-authentication-acl' => public_path('jacopo/laravel-authentication-acl'),
214+
__DIR__ . '/../../public/packages/jacopo/laravel-authentication-acl' => public_path('packages/jacopo/laravel-authentication-acl'),
216215
]);
216+
217217
}
218218

219219
protected function publishConfig()
@@ -230,7 +230,7 @@ protected function publishViews()
230230
{
231231

232232
$this->publishes([
233-
__DIR__ . '/../../resources/views' => base_path('resources/views/jacopo/laravel-authentication-acl'),
233+
__DIR__ . '/../../resources/views' => base_path('resources/views/vendor/laravel-authentication-acl'),
234234
]);
235235
}
236236

0 commit comments

Comments
 (0)