The config variable isn't defined in this context.

This commit is contained in:
Matt Colyer 2011-08-28 12:23:07 -07:00
parent ba18f948a6
commit 73d35d98de

View File

@ -15,7 +15,7 @@ module Guard
def clean def clean
assets = ::Rails.application.config.assets assets = ::Rails.application.config.assets
public_asset_path = File.join(::Rails.public_path, config.assets.prefix) public_asset_path = File.join(::Rails.public_path, assets.prefix)
rm_rf public_asset_path, :secure => true rm_rf public_asset_path, :secure => true
end end