From 6bed34fb8bdf4d03f716e8b6c34fbf47498e78f5 Mon Sep 17 00:00:00 2001 From: William Cahill-Manley Date: Mon, 20 Feb 2012 14:52:32 -0800 Subject: [PATCH] Use rtrim instead of prepending DS to avoid Windows issues --- laravel/bundle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/bundle.php b/laravel/bundle.php index ac8b2dde..a47ea0d4 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 = DS . trim(Bundle::path($bundle), DS); + $path = rtrim(Bundle::path($bundle), DS); foreach ($config['autoloads'] as $type => $mappings) {