Created
September 17, 2014 15:15
-
-
Save jakelear/6044a3b4224486400200 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app_sbn/cells/sbn_rocks/ticketmaster_cell.rb b/app_sbn/cells/sbn_rocks/ticketmaster_cell.rb | |
index 5da4ec3..675045d 100644 | |
--- a/app_sbn/cells/sbn_rocks/ticketmaster_cell.rb | |
+++ b/app_sbn/cells/sbn_rocks/ticketmaster_cell.rb | |
@@ -29,6 +29,11 @@ class SbnRocks::TicketmasterCell < Chorus::Cell | |
jewelsfromthecrown.com | |
} | |
+ forbidden = %w{ | |
+ baltimorebeatdown.com | |
+ dailynorseman.com | |
+ } | |
+ | |
if ny_yankees.include?(current_community.domain) | |
@href = "http://www.awin1.com/cread.php?awinmid=4292&awinaffid=173843&clickref=Yankees&p=http%3A%2F%2Fwww.ticketsnow.com%2Fyankees%2Fnew-york-yankees-tickets%2F" | |
@banner = "/images/widgets/ticketmaster-yankees_300x250.jpg" | |
@@ -44,7 +49,7 @@ class SbnRocks::TicketmasterCell < Chorus::Cell | |
elsif current_community.is_nba? | |
@href = "http://www.awin1.com/cread.php?awinmid=4292&awinaffid=173843&clickref=Widget&p=http%3A%2F%2Fwww.ticketsnow.com%2Fnba" | |
@banner = "/images/widgets/ticketmaster-nba_300x250.jpg" | |
- elsif current_community.is_nfl? | |
+ elsif current_community.is_nfl? && !forbidden.include?(current_community.domain) | |
@href = "http://www.awin1.com/cread.php?awinmid=4292&awinaffid=173843&clickref=NFL&p=http%3A%2F%2Fwww.ticketexchangebyticketmaster.com%2FNFL%2Fdefault.aspx%2F" | |
@banner = "/images/widgets/ticketmaster-nfl_300x250_generic.jpg" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment