Browse Source

Pass bundle view directory in view loader.

Taylor Otwell 12 years ago
parent
commit
a915e24b62
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/start.php

+ 1 - 1
application/start.php

@@ -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');
 });
 
 /*