Browse Source

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
tillsanders 12 years ago
parent
commit
00d1baf69e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      laravel/helpers.php

+ 2 - 2
laravel/helpers.php

@@ -10,7 +10,7 @@
  */
  */
 function e($value)
 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)
 function __($key, $replacements = array(), $language = null)
 {
 {
-	return Laravel\Lang::line($key, $replacements, $language);
+	return Lang::line($key, $replacements, $language);
 }
 }
 
 
 /**
 /**