1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Only display ads if production

This commit is contained in:
2015-12-05 00:10:46 +00:00
parent 664c0e9545
commit 740c6d4d66

View File

@@ -1,3 +1,4 @@
<% if Rails.env.production? %>
<div class="afs_ads"><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Sidebar -->
<ins class="adsbygoogle"
@@ -7,6 +8,7 @@
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
<% end %>
<div class="well" id="blocked_message" style="">
<p>We've detected that you have an ad blocker enabled! Please consider disabling it for <strong>wrestlingdev.com</strong>. This site is free for users and supported by ads. Ad blockers also block performance monitoring that help us with user experience.</p>
</div>