Skip to content

Commit 1685c94

Browse files
committed
fixed doc and vendor publish
1 parent 4223a67 commit 1685c94

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

app/Authentication/AuthenticationServiceProvider.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ protected function publishAssets()
212212
{
213213
$this->publishes([
214214
__DIR__ . '/../../public/packages/jacopo/laravel-authentication-acl' => public_path('packages/jacopo/laravel-authentication-acl'),
215-
], 'acl');
215+
]);
216216

217217
}
218218

@@ -223,15 +223,15 @@ protected function publishConfig()
223223
__DIR__ . '/../../config/acl_menu.php' => config_path('acl_menu.php'),
224224
__DIR__ . '/../../config/acl_permissions.php' => config_path('acl_permissions.php'),
225225
__DIR__ . '/../../config/acl_sentry.php' => config_path('acl_sentry.php'),
226-
], 'acl');
226+
]);
227227
}
228228

229229
protected function publishViews()
230230
{
231231

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

237237
protected function publishMigrations()
@@ -240,6 +240,6 @@ protected function publishMigrations()
240240
$this->publishes([
241241
__DIR__ . '/../../database/migrations' => $this->app->databasePath() . '/migrations',
242242
// __DIR__.'/../../database/seeds' => $this->app->databasePath().'/seeds',
243-
], 'acl');
243+
]);
244244
}
245245
}

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ After installing the package you can find all his configuration files under lara
145145
146146
6. How to use my custom views?
147147
148-
Automatically on install the views,config and assets of the package will be published you can override the views under the folder: 'views/vendor/laravel-autentication-acl'
149-
Any composer update command will not override your custumization so it's __update free__. Enjoy!.
148+
In order to override the views,config and assets of the package run the following command: 'php artisan vendor:publish' you can override the views under the folder: 'views/vendor/laravel-autentication-acl'
149+
Any composer update command will not override your costumization so it's __update free__. Enjoy!.
150150
151151
152152

0 commit comments

Comments
 (0)