Class: GacoCms::MediaFile

Inherits:
ApplicationRecord show all
Defined in:
app/models/gaco_cms/media_file.rb

Instance Method Summary collapse

Methods inherited from ApplicationRecord

#activestorage_url, #cache_key_locale, human_name

Instance Method Details

#urlObject



18
19
20
# File 'app/models/gaco_cms/media_file.rb', line 18

def url
  activestorage_url(file)
end