Module: Pageflow::UrlTemplate

Extended by:
UrlTemplate
Included in:
UrlTemplate
Defined in:
app/models/pageflow/url_template.rb

Instance Method Summary collapse

Instance Method Details

#from_attachment(attachment, *style) ⇒ Object



5
6
7
# File 'app/models/pageflow/url_template.rb', line 5

def from_attachment(attachment, *style)
  insert_id_partition_placeholder(attachment.url(*style))
end