Class: Asset

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/asset.rb

Direct Known Subclasses

Image

Instance Method Summary collapse

Instance Method Details

#url(style = nil) ⇒ Object



19
20
21
# File 'app/models/asset.rb', line 19

def url(style = nil)
  data.url(style || data.default_style)
end