removed some comment bloat from view class.
This commit is contained in:
parent
bd4fe8838c
commit
d57af216e6
|
@ -87,8 +87,6 @@ protected function path($view)
|
||||||
{
|
{
|
||||||
$view = str_replace('.', '/', $view);
|
$view = str_replace('.', '/', $view);
|
||||||
|
|
||||||
// A view may have a regular extension or a blade extension. We will need to
|
|
||||||
// check for both extensions when determining the path to the view.
|
|
||||||
foreach (array(EXT, BLADE_EXT) as $extension)
|
foreach (array(EXT, BLADE_EXT) as $extension)
|
||||||
{
|
{
|
||||||
if (file_exists($path = $this->path.$view.$extension)) return $path;
|
if (file_exists($path = $this->path.$view.$extension)) return $path;
|
||||||
|
|
Loading…
Reference in New Issue