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

Fixed if rails env for ads

This commit is contained in:
2016-01-19 02:50:02 +00:00
parent 8509b6819c
commit 593ad6093e
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
<% Rails.env.production? %>
<% if Rails.env.production? %>
<script type='text/javascript' src='//eclkmpbn.com/adServe/banners?tid=85597_138467_5&type=shadowbox&size=800x440'></script>
<% end %>
You do not have permissions to go there.

View File

@@ -1,4 +1,4 @@
<% Rails.env.production? %>
<% if Rails.env.production? %>
<script type='text/javascript' src='//eclkmpbn.com/adServe/banners?tid=85597_138467_5&type=shadowbox&size=800x440'></script>
<% end %>
<% cache ["brackets", @weight] do %>

View File

@@ -1,4 +1,4 @@
<% Rails.env.production? %>
<% if Rails.env.production? %>
<script type='text/javascript' src='//eclkmpbn.com/adServe/banners?tid=85597_138467_5&type=shadowbox&size=800x440'></script>
<% end %>
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>