Sha256: ac8ee2552c2a7c9eace857613f43c376799db83d5c4e17e7d9fb0e92744e3c32
Contents?: true
Size: 507 Bytes
Versions: 1
Compression:
Stored size: 507 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.info "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.1 | lib/multi_sync/extensions/rails.rb |