markstory/asset_compress — pull request #155 by sime (2013-04-22 14:31:35+00:00)
Title: Incorrect path for dynamic build when App.baseUrl is set

I use the build in server in CakePHP 2.3. Thus my App.baseUrl is env('SCRIPT_NAME')

AssetCompress helper would render this markup:

```html

```
Which is incorrect and simply 404.

This patch wraps the helpers $baseUrl to bring out the App.baseUrl. i.e.

```html

```

I've also tested this patch in an environment with doesn't set App.baseUrl. So for a least in development, I cannot see any issues.