Skip to content

Commit ca40180

Browse files
committed
cleaning up code.
1 parent 353c7c5 commit ca40180

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

laravel/view.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ protected function path($view)
9595

9696
// Views may have the normal PHP extension or the Blade PHP extension, so
9797
// we need to check if either of them exist in the base views directory
98-
// for the bundle. We'll check for the PHP extension first since that
99-
// is probably the more common of the two.
98+
// for the bundle and return the first one we find.
10099
foreach (array(EXT, BLADE_EXT) as $extension)
101100
{
102101
if (file_exists($path = $root.Bundle::element($view).$extension))

0 commit comments

Comments
 (0)