Method: Binda::FieldableAssociationHelpers::FieldableAudioHelpers#get_audio_path

Defined in:
app/models/concerns/binda/fieldable_association_helpers/fieldable_audio_helpers.rb

#get_audio_path(field_slug) ⇒ string

Get the audio path based on the size provided,

default is Carrierwave default (usually the real size)

Parameters:

  • field_slug (string)

    The slug of the field setting

Returns:

  • (string)

    The url of the audio



30
31
32
# File 'app/models/concerns/binda/fieldable_association_helpers/fieldable_audio_helpers.rb', line 30

def get_audio_path(field_slug)
	get_audio_info( field_slug, 'path' )
end