evrone/quiet_assets — pull request #3 by thenoseman (2012-04-17 09:56:18+00:00)
Title: Dont't output log line even if ASSETS_PREFIX doesn't start with a slash

Hi,

today I tried out your gem and found that it didn't work in my projects setup.

The reason was that the configured `assets.prefix` path in my rails 3.1 app didn't start with a slash.

Instead of the assumed `/assets/somepath` it was `assets/somepath`. That's totally legit in my setup.

I just removed the check for `index == 0` (it returns `nil` anyway) and it works fine for me.

If that ok with you please consider pulling the change in.

Thanks for that gem! Those asset log entries really did go on my nerves.

Thanks,
Frank