From ae75f4543c7e66e660f6f30641790d44a492cc6a Mon Sep 17 00:00:00 2001 From: pxpm Date: Thu, 17 Oct 2024 11:21:22 +0100 Subject: [PATCH] remove inexistent function --- 6.x/add-ons-tutorial-how-to-create-a-theme.md | 2 +- 7.x-dev/add-ons-tutorial-how-to-create-a-theme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/6.x/add-ons-tutorial-how-to-create-a-theme.md b/6.x/add-ons-tutorial-how-to-create-a-theme.md index 7358a316..ed49d550 100644 --- a/6.x/add-ons-tutorial-how-to-create-a-theme.md +++ b/6.x/add-ons-tutorial-how-to-create-a-theme.md @@ -78,7 +78,7 @@ The `my-cool-theme/inc/theme_styles.blade.php` file should hold all custom CSS t @basset('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css') {{-- You can also load files from any place in your application directories --}} -@basset(views_path('my-cool-theme/assets/css/extra.css')) +@basset(resource_path('my-cool-theme/assets/css/extra.css')) {{-- You can also write inline CSS blocks --}} @bassetBlock('my-cool-theme/custom-styling') diff --git a/7.x-dev/add-ons-tutorial-how-to-create-a-theme.md b/7.x-dev/add-ons-tutorial-how-to-create-a-theme.md index 7358a316..ed49d550 100644 --- a/7.x-dev/add-ons-tutorial-how-to-create-a-theme.md +++ b/7.x-dev/add-ons-tutorial-how-to-create-a-theme.md @@ -78,7 +78,7 @@ The `my-cool-theme/inc/theme_styles.blade.php` file should hold all custom CSS t @basset('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css') {{-- You can also load files from any place in your application directories --}} -@basset(views_path('my-cool-theme/assets/css/extra.css')) +@basset(resource_path('my-cool-theme/assets/css/extra.css')) {{-- You can also write inline CSS blocks --}} @bassetBlock('my-cool-theme/custom-styling')