title: Sorcery Log_out not working
body: <p>Here is my route- </p>
  
  <pre><code>    get 'login' =&gt; 'sessions#new'
      post 'login' =&gt; 'sessions#create'
      delete 'logout' =&gt; 'sessions#destroy'
  </code></pre>
  
  <p>Here is my controller action- </p>
  
  <pre><code>  def destroy
      logout
      redirect_to(login_url, notice: 'You have Succesfully Logged out.')
    end
  </code></pre>
  
  <p>Here is my view-</p>
  
  <pre><code>  &lt;li&gt;
        &lt;%if current_user %&gt;
        &lt;%= link_to logout_path, method: :delete do %&gt;
        &lt;i class="fa fa-sign-out"&gt;&lt;/i&gt; Log out
        &lt;%end%&gt;
        &lt;%end%&gt;
    &lt;/li&gt;
  </code></pre>
  
  <p>The problem I am having is: whenever I logout it says-</p>
  
  <blockquote>
    <p>No route matches [GET] "/logout".</p>
  </blockquote>
  
  <p>I tried with <code>GET</code>, I tried with <code>DELETE</code> and <code>POST</code>, nothing works. </p>
  
  <p>Routes </p>
  
  <pre><code>login_path  GET     /login(.:format)    sessions#new
              POST    /login(.:format)    sessions#create
  logout_path DELETE  /logout(.:format)   sessions#destroy
  </code></pre>