title: No route matches [POST] - Rails destroy
body: <p>I am new to RoR and still don't have enough experience on solving the different errors that may appear to me. In this case I am designing a blog where I can post articles. More specifically, my problem is related to deleting these articles.</p>
  <p>As far as I know, writing:</p>
  <pre><code>resources :articles
  </code></pre>
  <p>in the <em>routes</em> file is an alternative for writing:</p>
  <pre><code>get &quot;/articles&quot;            #index
  post &quot;/articles&quot;           #create
  delete &quot;/articles/:id&quot;     #delete
  get &quot;/articles/:id&quot;        #show
  get &quot;/articles/new&quot;        #new
  get &quot;/articles/:id/edit&quot;   #edit
  patch &quot;/articles/:id&quot;      #update
  put &quot;/articles/:id&quot;        #update
  </code></pre>
  <p>When I try to delete an article I get the following error:</p>
  <h2>No route matches [POST] &quot;/articles/1&quot;</h2>
  <p>The code I wrote was:</p>
  <p><strong>View</strong></p>
  <pre><code>&lt;% @articles.each do |art| %&gt;
      &lt;%= art.title %&gt;
      &lt;div&gt;
          &lt;%= art.body %&gt; - &lt;%= link_to &quot;Delete&quot;, art, method: :delete %&gt;
      &lt;/div&gt;
  &lt;% end %&gt;
  </code></pre>
  <p><strong>Controller</strong></p>
  <pre><code>def destroy
      @article = Article.find(params[:id])
      @article.destroy
      redirect_to articles_path       
  end
  </code></pre>