Sha256: 49bfa95e2f3cf91264c51bab8a24710cf6510cef7f0a371c33fd04080ddbdb81
Contents?: true
Size: 442 Bytes
Versions: 1
Compression:
Stored size: 442 Bytes
Contents
module CodeSync class Engine < ::Rails::Engine initializer 'code_sync.manager', :before => :build_middleware_stack do |app| enabled = (app.config.enable_code_sync_manager == true) rescue false forbid_saving = (app.config.forbid_code_sync_save) rescue false if enabled && !$rails_rake_task CodeSync::Manager.start(sprockets: app.assets, forked: true, forbid_saving: !!forbid_saving) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
code_sync-0.6.7 | lib/code_sync/rails/engine.rb |