Method: Paperclip::Storage::S3#style_name_as_path

Defined in:
lib/paperclip/storage/s3.rb

#style_name_as_path(style_name) ⇒ Object



268
269
270
# File 'lib/paperclip/storage/s3.rb', line 268

def style_name_as_path(style_name)
  path(style_name).sub(%r{\A/},'')
end