diff --git a/app/views/static_pages/not_allowed.html.erb b/app/views/static_pages/not_allowed.html.erb
index 649cf1e..50a03f8 100644
--- a/app/views/static_pages/not_allowed.html.erb
+++ b/app/views/static_pages/not_allowed.html.erb
@@ -1,4 +1 @@
-<% if Rails.env.production? %>
-
-<% end %>
You do not have permissions to go there.
diff --git a/app/views/tournaments/no_matches.html.erb b/app/views/tournaments/no_matches.html.erb
index 8b6a0a3..0dc45c3 100644
--- a/app/views/tournaments/no_matches.html.erb
+++ b/app/views/tournaments/no_matches.html.erb
@@ -1,6 +1,3 @@
-<% if Rails.env.production? %>
-
-<% end %>
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>