Sha256: 49e46be6d1973dfc93d63638ad02bb31f19d941236ccf3b56194783ab2db572d
Contents?: true
Size: 508 Bytes
Versions: 1
Compression:
Stored size: 508 Bytes
Contents
module MultiSync module Extensions require 'multi_sync/extensions/rails/railtie' if defined?(::Rails::Railtie) require 'multi_sync/extensions/rails/asset_sync' class Rails MultiSync.debug "Rails -v #{::Rails::VERSION::STRING} auto-detected" class << self def source_dir ::Rails.root.join('public', destination_dir) end def destination_dir ::Rails.application.config.assets.prefix.sub(/^\//, '') end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
multi_sync-0.0.2 | lib/multi_sync/extensions/rails.rb |