Sha256: c6d2100a7445e7e2cee9f80e760b1aeac8de9425c3db6c45e4035abbf6ec9a21
Contents?: true
Size: 327 Bytes
Versions: 18
Compression:
Stored size: 327 Bytes
Contents
class FuelController < ApplicationController helper_method :s3_bucket def not_found raise ActionController::RoutingError.new('Not Found') end def s3_bucket return nil unless Fuel.configuration.aws_bucket.present? @s3_bucket ||= ( AWS::S3.new.buckets[Fuel.configuration.aws_bucket] ) end end
Version data entries
18 entries across 18 versions & 1 rubygems