Commit a915e24b authored by Taylor Otwell's avatar Taylor Otwell

Pass bundle view directory in view loader.

parent 973da34b
...@@ -92,7 +92,7 @@ Autoloader::directories(array( ...@@ -92,7 +92,7 @@ Autoloader::directories(array(
Event::listen(View::loader, function($bundle, $view) Event::listen(View::loader, function($bundle, $view)
{ {
return View::file($bundle, $view, path('app').'views'); return View::file($bundle, $view, Bundle::path($bundle).'views');
}); });
/* /*
......
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