Sha256: cadf78fee5413836f67edc80cd6ffa64da8305d46d23ce217d013ea895bcb44e
Contents?: true
Size: 260 Bytes
Versions: 2
Compression:
Stored size: 260 Bytes
Contents
- if @advertisement.ad_type == 'ad_service' = @advertisement.ad_text.html_safe - if @advertisement.ad_type == 'image_link' %a{:href => @advertisement.url} = image_tag @advertisement.image_url, :size => "#{@advertisement.width}x#{@advertisement.height}"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_adserver-1.0.1 | app/views/rails_adserver/advertisements/show.html.haml |
rails_adserver-1.0.0 | app/views/rails_adserver/advertisements/show.html.haml |