mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Pass bundle view directory in view loader.
This commit is contained in:
parent
973da34bc0
commit
a915e24b62
@ -92,7 +92,7 @@ Autoloader::directories(array(
|
||||
|
||||
Event::listen(View::loader, function($bundle, $view)
|
||||
{
|
||||
return View::file($bundle, $view, path('app').'views');
|
||||
return View::file($bundle, $view, Bundle::path($bundle).'views');
|
||||
});
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user