From 00d1baf69e3d4a9cdc8fdf79e99028415b541de5 Mon Sep 17 00:00:00 2001 From: tillsanders Date: Wed, 3 Oct 2012 15:35:34 +0300 Subject: [PATCH] Update laravel/helpers.php The e-helper and the __-Helper used the core-classes. So if I would like to override them, the helpers would still use the core-classes. See this thread for further explanation: http://forums.laravel.com/viewtopic.php?id=2656 --- laravel/helpers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/laravel/helpers.php b/laravel/helpers.php index 589669ce..33160dd7 100644 --- a/laravel/helpers.php +++ b/laravel/helpers.php @@ -10,7 +10,7 @@ */ function e($value) { - return Laravel\HTML::entities($value); + return HTML::entities($value); } /** @@ -23,7 +23,7 @@ function e($value) */ function __($key, $replacements = array(), $language = null) { - return Laravel\Lang::line($key, $replacements, $language); + return Lang::line($key, $replacements, $language); } /**