Sha256: 906e2159edd1e0deb489b4ff8d3844f7013a4b9fbeacb274e29a50db2b29578c

Contents?: true

Size: 320 Bytes

Versions: 3

Compression:

Stored size: 320 Bytes

Contents

module PluploadRails3
  class Railtie < Rails::Railtie
    initializer "plupload-rails3.configure_middleware" do |app|
      app.middleware.use ActionDispatch::PluploadParamsRenamer
    end
    
    rake_tasks do
      Dir[File.join(File.dirname(__FILE__),'../tasks/*.rake')].each { |f| load f }
    end
      
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
plupload-rails3-0.0.7 lib/plupload-rails3/railtie.rb
plupload-rails3-0.0.5 lib/plupload-rails3/railtie.rb
plupload-rails3-0.0.4 lib/plupload-rails3/railtie.rb