Pass directory into View:: file method.

This commit is contained in:
Taylor Otwell
2012-03-26 08:27:53 -05:00
parent 263d6145a7
commit 973da34bc0
2 changed files with 7 additions and 6 deletions

View File

@@ -92,7 +92,7 @@ Autoloader::directories(array(
Event::listen(View::loader, function($bundle, $view)
{
return View::file($bundle, $view);
return View::file($bundle, $view, path('app').'views');
});
/*