The config variable isn't defined in this context.
This commit is contained in:
parent
ba18f948a6
commit
73d35d98de
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user