option to show default adsense ads on all groups
authorPatrick Aljord <patcito@gmail.com>
Sun, 8 Jan 2012 02:09:12 +0000 (21:09 -0500)
committerPatrick Aljord <patcito@gmail.com>
Sun, 8 Jan 2012 02:09:12 +0000 (21:09 -0500)
commit41332ec53d37274ca4d1a2c575d0aff18ddda786
tree3239bdbde10a2f1e44fe3b42ceac59945a11c68e
parent1252355693ef16f15c794234a27cca28e3a43fd5
option to show default adsense ads on all groups
see shapado.yml.sample and the default_adsense option
ads will show everywhere except in groups that have has_custom_ads set
to true. Default ads come with header, footer, and sidebar placement.
app/helpers/application_helper.rb
app/models/group.rb
app/views/shared/_default_adsense.haml [new file with mode: 0644]
app/views/shared/_widgets.html.haml
config/shapado.yml.sample