From e62e4a865d41b8d7e7261f28060a94b9a6639d58 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Wed, 28 Aug 2019 10:52:35 -0400 Subject: [PATCH] Rename mix_public() to public_mix() for consistency with public_asset() --- app/helpers.php | 4 ++-- resources/views/admin/app.blade.php | 10 +++++----- resources/views/layouts/default/app.blade.php | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/helpers.php b/app/helpers.php index e0284c77..4c5efdc7 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -167,8 +167,8 @@ if (!function_exists('public_asset')) { /* * Call mix() and then prepend the proper public URL */ -if (!function_exists('mix_public')) { - function mix_public($path, array $parameters = []) +if (!function_exists('public_mix')) { + function public_mix($path, array $parameters = []) { try { $path = mix($path); diff --git a/resources/views/admin/app.blade.php b/resources/views/admin/app.blade.php index f3a5eb90..b8b7557e 100644 --- a/resources/views/admin/app.blade.php +++ b/resources/views/admin/app.blade.php @@ -21,9 +21,9 @@ - - - + + + @@ -84,8 +84,8 @@ {{-- Start of the required tags block. Don't remove these or things will break!! --}} - - + + @yield('scripts') {{--