From bec5f947b9482fafe4da6e097f704bd069142466 Mon Sep 17 00:00:00 2001 From: Samuel Date: Mon, 28 Feb 2022 19:47:59 +0100 Subject: [PATCH] Replace condition with environment directive To follow "the Laravel way" --- resources/views/layouts/_fathom.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/layouts/_fathom.blade.php b/resources/views/layouts/_fathom.blade.php index 2021923e2..ab4715acd 100644 --- a/resources/views/layouts/_fathom.blade.php +++ b/resources/views/layouts/_fathom.blade.php @@ -1,5 +1,5 @@ -@if (App::environment('production')) +@production -@endif +@endproduction