From c43f1ddf3d4fbcc880ab3bf3dae1591838f12eab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Pani=C4=87?= Date: Mon, 15 May 2017 14:40:06 +0200 Subject: [PATCH] Laravel 5.4 compatibility --- src/Jlapp/Swaggervel/routes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Jlapp/Swaggervel/routes.php b/src/Jlapp/Swaggervel/routes.php index 183799c..bf42e45 100644 --- a/src/Jlapp/Swaggervel/routes.php +++ b/src/Jlapp/Swaggervel/routes.php @@ -48,8 +48,8 @@ Request::setTrustedProxies(array($proxy)); } - Blade::setEscapedContentTags('{{{', '}}}'); - Blade::setContentTags('{{', '}}'); +// Blade::setEscapedContentTags('{{{', '}}}'); +// Blade::setContentTags('{{', '}}'); //need the / at the end to avoid CORS errors on Homestead systems. $response = response()->view('swaggervel::index', array(