title: Issue in rails 4.0 with creating a link_to for a delete action
body: <p>This is my first project in rails, which is to create a table that will store data about games. I'm able to display data from the table about winner score, loser score, etc. However, I have issues with my table column that contains delete links for each game.</p>
  
  <p>Here's my code in the games controller for the delete method:</p>
  
  <pre><code>def delete
    @game = Game.find(params[:game])
    @game.destroy()
    redirect_to :action =&gt; 'index'
  end
  </code></pre>
  
  <p>A snippet of my table code, which includes the line for the link_to command</p>
  
  <pre><code>    &lt;% @games_items.each do |t| %&gt;
       &lt;tr&gt;
          &lt;td&gt;&lt;%= t.winner.name %&gt;&lt;/td&gt;
          &lt;td&gt;&lt;%= t.loser.name %&gt;&lt;/td&gt;
          &lt;td&gt;&lt;%= t.challenger.name %&gt;&lt;/td&gt;
          &lt;td&gt;&lt;%= t.winner_score %&gt;&lt;/td&gt;
          &lt;td&gt;&lt;%= t.loser_score %&gt;&lt;/td&gt;
          &lt;td&gt;&lt;%= link_to 'Delete', delete_game_path(id: t.id)%&gt;&lt;/td&gt;
       &lt;/tr&gt;
      &lt;% end %&gt;
  </code></pre>
  
  <p>In the routes file I called</p>
  
  <pre><code>resources :games
  </code></pre>
  
  <p>Which, to my knowledge, helps generate the base routing. Could anyone help me figure out why my link_to is not working?</p>