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

Version Path
phocoder-rails-0.0.58 lib/phocoder_rails/engine.rb
phocoder-rails-0.0.57 lib/phocoder_rails/engine.rb
phocoder-rails-0.0.56 lib/phocoder_rails/engine.rb
phocoder-rails-0.0.55 lib/phocoder_rails/engine.rb
phocoder-rails-0.0.54 lib/phocoder_rails/engine.rb
phocoder-rails-0.0.53 lib/phocoder_rails/engine.rb
phocoder-rails-0.0.52 lib/phocoder_rails/engine.rb
phocoder-rails-0.0.51 lib/phocoder_rails/engine.rb
phocoder-rails-0.0.50 lib/phocoder_rails/engine.rb
phocoder-rails-0.0.49 lib/phocoder_rails/engine.rb
phocoder-rails-0.0.48 lib/phocoder_rails/engine.rb
phocoder-rails-0.0.47 lib/phocoder_rails/engine.rb
phocoder-rails-0.0.46 lib/phocoder_rails/engine.rb
phocoder-rails-0.0.45 lib/phocoder_rails/engine.rb
phocoder-rails-0.0.44 lib/phocoder_rails/engine.rb
phocoder-rails-0.0.43 lib/phocoder_rails/engine.rb
phocoder-rails-0.0.42 lib/phocoder_rails/engine.rb
phocoder-rails-0.0.41 lib/phocoder_rails/engine.rb
phocoder-rails-0.0.40 lib/phocoder_rails/engine.rb
phocoder-rails-0.0.39 lib/phocoder_rails/engine.rb