We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 353c7c5 commit ca40180Copy full SHA for ca40180
laravel/view.php
@@ -95,8 +95,7 @@ protected function path($view)
95
96
// Views may have the normal PHP extension or the Blade PHP extension, so
97
// 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.
+ // for the bundle and return the first one we find.
100
foreach (array(EXT, BLADE_EXT) as $extension)
101
{
102
if (file_exists($path = $root.Bundle::element($view).$extension))
0 commit comments