From ca40180b54d28c54b3dedb30cd4b764785a5a168 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 21 Feb 2012 10:51:31 -0600 Subject: [PATCH] cleaning up code. --- laravel/view.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/laravel/view.php b/laravel/view.php index 12dca992..ab9fe53e 100644 --- a/laravel/view.php +++ b/laravel/view.php @@ -95,8 +95,7 @@ protected function path($view) // Views may have the normal PHP extension or the Blade PHP extension, so // we need to check if either of them exist in the base views directory - // for the bundle. We'll check for the PHP extension first since that - // is probably the more common of the two. + // for the bundle and return the first one we find. foreach (array(EXT, BLADE_EXT) as $extension) { if (file_exists($path = $root.Bundle::element($view).$extension))