From dd5ff5f12b5fb4cfffa73c523efc55d32725dca7 Mon Sep 17 00:00:00 2001 From: William Cahill-Manley Date: Mon, 20 Feb 2012 14:44:13 -0800 Subject: [PATCH] Trimmed Directory separator produces relative (and wrong) paths for bundles --- laravel/bundle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/bundle.php b/laravel/bundle.php index 7199824c..ac8b2dde 100644 --- a/laravel/bundle.php +++ b/laravel/bundle.php @@ -142,7 +142,7 @@ public static function routes($bundle) */ protected static function autoloads($bundle, $config) { - $path = trim(Bundle::path($bundle), DS); + $path = DS . trim(Bundle::path($bundle), DS); foreach ($config['autoloads'] as $type => $mappings) {