jeremyboles-smart-asset-helper 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/asset_manager.rb +2 -2
- metadata +1 -1
data/lib/asset_manager.rb
CHANGED
@@ -51,11 +51,11 @@ class AssetManager
|
|
51
51
|
file_path = "#{ASSET_DIR[asset_type]}/#{asset_path}"
|
52
52
|
files << path if File.exists?(file_path)
|
53
53
|
end
|
54
|
-
files +=
|
54
|
+
files += auto_find(asset_type, request_params) if auto
|
55
55
|
files
|
56
56
|
end
|
57
57
|
|
58
|
-
|
58
|
+
protected
|
59
59
|
|
60
60
|
def auto_find(asset_type, request_params, extra = '')
|
61
61
|
extra = '-' + extra unless extra.blank?
|