Sha256: c023f73b9715f1c6fae3ffadd8699293d21908caa2dd95e70de3b4cade7aa6b9
Contents?: true
Size: 586 Bytes
Versions: 26
Compression:
Stored size: 586 Bytes
Contents
module PhocoderRails class Engine < Rails::Engine config.acts_as_phocodable = ActiveSupport::OrderedOptions.new initializer "phocoder_config" do |app| if !config.acts_as_phocodable.storage_mode.blank? ActsAsPhocodable.storeage_mode = config.acts_as_phocodable.storage_mode end if !config.acts_as_phocodable.config_file.blank? ActsAsPhocodable.config_file = config.acts_as_phocodable.config_file end app.middleware.use ::ActionDispatch::Static, "#{root}/public" end end end
Version data entries
26 entries across 26 versions & 1 rubygems