Sha256: d77dee82fd4e9f622826676b94adb140a015e7525a1cd28799c91aee28900904

Contents?: true

Size: 316 Bytes

Versions: 3

Compression:

Stored size: 316 Bytes

Contents

- @adspaces.each do |space|
  %h1= "#{space.name} Active Ads:"
  - @advertisements = space.advertisements.where('is_active = ?',true)
  - unless @advertisements == []
    = render 'rails_adserver/advertisements/advertisements_table', :locals => { :object => @advertisements }
  - else
    No Active Ads
  %br/
  %br/

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_adserver-1.0.2 app/views/rails_adserver/pages/home.html.haml
rails_adserver-1.0.1 app/views/rails_adserver/pages/home.html.haml
rails_adserver-1.0.0 app/views/rails_adserver/pages/home.html.haml