caboose-cms 0.9.150 → 0.9.151
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/caboose/application_helper.rb +3 -3
- data/lib/caboose/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b309af102afbdb0e114926ac4e60855b4c19d812
|
4
|
+
data.tar.gz: 2fa9b8018c6ebd41f462f2ff1814c6d6e9ac54fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdd3f3decaf0822f4c9715499deb6d15d02e6e33e73f838aa4d6e005633a03390e30aebfd69ae94f254d2141b2a5e59252fb0b3ac78a783fff6b33634ceabb28
|
7
|
+
data.tar.gz: afa10fc4412ee182c588b4fcf480d754209d2292e698f5ca35750cd1cbb21203be253b9ff58894f40bcdb97cccdc60be9ec3ae0917607a1688d6e28b3c9e7472
|
@@ -51,10 +51,10 @@ tinyMCE.init({
|
|
51
51
|
return str
|
52
52
|
end
|
53
53
|
|
54
|
-
def caboose_asset_path(path)
|
55
|
-
str =
|
54
|
+
def caboose_asset_path(path, options = {})
|
55
|
+
str = ""
|
56
56
|
begin
|
57
|
-
str = asset_path(path)
|
57
|
+
str = asset_path(path, options)
|
58
58
|
rescue Sprockets::Helpers::RailsHelper::AssetPaths::AssetNotPrecompiledError
|
59
59
|
Caboose.log("Precompiled asset not found\n\nAsset: #{path}\nFile: #{caller_locations[1].path}\nLine: #{caller_locations[1].lineno}")
|
60
60
|
end
|
data/lib/caboose/version.rb
CHANGED