lib/classy_assets/config.rb in classy_assets-0.6.1 vs lib/classy_assets/config.rb in classy_assets-0.6.2

- old
+ new

@@ -7,15 +7,15 @@ include Singleton attr_accessor :asset_debug, :asset_digest, :asset_host, :asset_paths, :asset_prefix, :asset_root def asset_debug - @asset_debug ||= (ENV['RACK_ENV'] == 'development') + @asset_debug || (ENV['RACK_ENV'] == 'development') end def asset_digest - @asset_digest ||= false + @asset_digest || false end def asset_paths @asset_paths ||= build_asset_paths @asset_paths.uniq! # ensure no duplicates @@ -27,13 +27,9 @@ end def asset_root raise Errors::NilAssetRoot.new if @asset_root.nil? @asset_root - end - - def public_path - @public_path ||= File.join(asset_root, 'public') end private def build_asset_paths