Sha256: 11f1e2abd53d0acfdf3e528f9db90e935d966cdcc80aeff0d9356ac9bdd85c4f
Contents?: true
Size: 335 Bytes
Versions: 8
Compression:
Stored size: 335 Bytes
Contents
require 'paperclip' require 'rack/raw_upload' module Rich class Engine < Rails::Engine isolate_namespace Rich initializer "rich.add_middleware" do |app| app.config.assets.precompile += %w( rich/base.js rich/editor.css ) app.middleware.use 'Rack::RawUpload', :paths => ['/rich/files'] end end end
Version data entries
8 entries across 8 versions & 1 rubygems