Sha256: 58c4cd96ddb4bcc5faff3fa9c17c0f4213c45fa71bb2e2f0c44cf4aafe2e9f03
Contents?: true
Size: 308 Bytes
Versions: 3
Compression:
Stored size: 308 Bytes
Contents
require 'paperclip' require 'rack/raw_upload' module Rich class Engine < Rails::Engine isolate_namespace Rich initializer "rich.add_middleware" do |app| app.middleware.use 'Rack::RawUpload', :paths => ['/rich/files'] # TODO make this path the engine mountpoint end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rich-0.0.3 | lib/rich/engine.rb |
rich-0.0.2 | lib/rich/engine.rb |
rich-0.0.1 | lib/rich/engine.rb |