Sha256: 0490888cb086b23d8d5ba90cc91ae7e345ba8cf1f03287b7d3edab99e5683951

Contents?: true

Size: 530 Bytes

Versions: 1

Compression:

Stored size: 530 Bytes

Contents

# EffectiveAssets Rails Engine

EffectiveAssets.setup do |config|
  config.assets_table_name = :assets
  config.attachments_table_name = :attachments

  config.uploader = AssetUploader

  # This is your S3 bucket information
  config.aws_bucket = ''
  config.aws_access_key_id = ''
  config.aws_secret_access_key = ''

  config.aws_final_path = 'assets/'
  config.aws_upload_path = 'uploads/'
  config.aws_acl = 'public-read'

  config.authorization_method = Proc.new { |controller, action, resource| can?(action, resource) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
effective_assets-0.1 lib/generators/templates/effective_assets.rb