From a1b3ba75389a467cc13ab0a4f8448d9c847350ee Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 16 Nov 2011 22:44:15 -0600 Subject: [PATCH] added comment to url class. --- laravel/url.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/laravel/url.php b/laravel/url.php index 0eca9bcb..f8b6e19d 100644 --- a/laravel/url.php +++ b/laravel/url.php @@ -64,6 +64,9 @@ public static function to_asset($url, $https = null) $url = static::to($url, $https); + // Since assets are not served by Laravel, we do not need to come through + // the front controller. We'll remove the application index specified in + // the application configuration from the generated URL. if (($index = Config::$items['application']['index']) !== '') { $url = str_replace($index.'/', '', $url);