diff --git a/laravel/view.php b/laravel/view.php index f97b3dee..9a375073 100644 --- a/laravel/view.php +++ b/laravel/view.php @@ -118,6 +118,11 @@ public function __construct($view, $data = array()) */ public static function exists($view, $return_path = false) { + if (starts_with($view, 'name: ') and array_key_exists($name = substr($view, 6), static::$names)) + { + $view = static::$names[$name]; + } + list($bundle, $view) = Bundle::parse($view); $view = str_replace('.', '/', $view);