about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/views/players/index.html.erb2
-rw-r--r--config/environments/production.rb1
2 files changed, 2 insertions, 1 deletions
diff --git a/app/views/players/index.html.erb b/app/views/players/index.html.erb
index 67717e0..744e1cd 100644
--- a/app/views/players/index.html.erb
+++ b/app/views/players/index.html.erb
@@ -4,7 +4,7 @@
 <ul>
   <% @players.each do |player| %>
     <li>
-      <%= link_to player.name, edit_player_path(player) %>
+      <%= link_to player.name, player %>
     </li>
   <% end %>
 </ul>
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 144f7bf..9b0e175 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -1,4 +1,5 @@
 Rails.application.configure do
+  config.hosts << "nomipinball.bhh.sh"
   # Settings specified here will take precedence over those in config/application.rb.
 
   # Code is not reloaded between requests.