lib/classy_assets.rb in classy_assets-0.3.0 vs lib/classy_assets.rb in classy_assets-0.3.1
- old
+ new
@@ -36,9 +36,17 @@
def self.asset_host=(host)
@asset_host = host
end
+ def self.asset_host_protocol
+ @asset_host_protoco || :relative
+ end
+
+ def self.asset_host_protocol=(host)
+ @asset_host = host
+ end
+
def self.asset_prefix
@asset_prefix || 'assets'
end
def self.asset_prefix=(prefix)