Method: Binda::FieldableAssociationHelpers::FieldableAudioHelpers#get_audio_url

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

#get_audio_url(field_slug) ⇒ string

Get the audio url 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



21
22
23
# File 'app/models/concerns/binda/fieldable_association_helpers/fieldable_audio_helpers.rb', line 21

def get_audio_url(field_slug)
	get_audio_info( field_slug, 'url' )
end