Commit d57af216 by Taylor Otwell

removed some comment bloat from view class.

parent bd4fe883
...@@ -87,8 +87,6 @@ class View_Factory { ...@@ -87,8 +87,6 @@ class View_Factory {
{ {
$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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment