ad_man 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/app/helpers/ad_man/application_helper.rb +1 -1
- data/lib/ad_man/version.rb +1 -1
- metadata +1 -1
@@ -31,7 +31,7 @@ module AdMan
|
|
31
31
|
keyword_id = Keyword.find_by_name(keyword).id
|
32
32
|
ad = Advertisement.render_random_ad(keyword_id)
|
33
33
|
#grab size? leaderboard or banner
|
34
|
-
elsif keyword.nil? || keyword.blank?
|
34
|
+
elsif keyword.nil? || keyword.blank? || keyword == 'all'
|
35
35
|
ad = Advertisement.render_random_ad
|
36
36
|
end
|
37
37
|
if ad
|
data/lib/ad_man/version.rb
CHANGED