Sha256: cf612ab7b41f6188cc3ceb367b05b1d120507c00624c3320e63259e3c6e7aba8

Contents?: true

Size: 303 Bytes

Versions: 3

Compression:

Stored size: 303 Bytes

Contents

# Methods added to this helper will be available to all templates in the application.
module ApplicationHelper
  include S33r
  
  def authenticated_url(bucket_name, resource_key)
    s3_authenticated_url(ACCESS_KEY, SECRET_ACCESS_KEY, bucket_name, resource_key, S3_OPTIONS[:default_expires])
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
s33r-0.4.1 examples/fores33r/app/helpers/application_helper.rb
s33r-0.4.2 examples/fores33r/app/helpers/application_helper.rb
s33r-0.4 examples/fores33r/app/helpers/application_helper.rb