1
0
Fork 0
mirror of https://github.com/archtechx/laravel-seo.git synced 2025-12-12 01:44:03 +00:00
This commit is contained in:
Ngô Quốc Đạt 2023-04-23 23:15:22 +07:00 committed by GitHub
parent 2e69a8dafc
commit fd090e2c22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ class SEOServiceProvider extends ServiceProvider
public function boot(): void
{
$this->loadViewsFrom(__DIR__ . '/../views', 'seo');
$this->loadViewsFrom(__DIR__ . '/../resources/views', 'seo');
if ($this->app->runningInConsole()) {
$this->commands([
@ -26,7 +26,7 @@ class SEOServiceProvider extends ServiceProvider
}
$this->publishes([
__DIR__ . '/../assets/views' => resource_path('views/vendor/seo'),
__DIR__ . '/../resources/views' => resource_path('views/vendor/seo'),
], 'seo-views');
Blade::directive('seo', function ($expression) {