Sha256: 5c0e0eef714d54b59a78f0e622cb0d51eb81aa438378a7964fad397ecada057d

Contents?: true

Size: 432 Bytes

Versions: 3

Compression:

Stored size: 432 Bytes

Contents

module S3Relay
  class Engine < ::Rails::Engine
    isolate_namespace S3Relay

    initializer "s3_relay.action_controller" do |app|
      ActiveSupport.on_load :action_controller do
        helper S3Relay::UploadsHelper if respond_to?(:helper)
      end
    end
  end
end

require "s3_relay/base"
require "s3_relay/model"
require "s3_relay/private_url"
require "s3_relay/upload_presigner"

ActiveRecord::Base.extend S3Relay::Model

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
s3_relay-0.7.0 lib/s3_relay/engine.rb
s3_relay-0.6.2 lib/s3_relay/engine.rb
s3_relay-0.6.1 lib/s3_relay/engine.rb