title: Rails and clearence. No route matches
body: <p>I use <a href="https://github.com/thoughtbot/clearance" rel="nofollow noreferrer">clearance</a> in app. When user try sign out, have routing error:</p>
  
  <pre><code> Failure/Error: visit sign_out_path
  
   ActionController::RoutingError:
     No route matches [GET] "/sign_out"
  </code></pre>
  
  <p>Sign out link in view:</p>
  
  <pre><code>  = link_to t(".sign_out"), sign_out_path, method: :delete
  </code></pre>
  
  <p>In roures.rb configuration</p>
  
  <pre><code>get "/sign_in",      to: "clearance/sessions#new", as: "sign_in"
  get "/session",      to: "clearance/sessions#new", as: "session"
  delete "/sign_out",  to: "clearance/sessions#destroy", as: "sign_out"
  get "/sign_up",      to: "clearance/users#new", as: "sign_up"
  
  resources :passwords, controller: "clearance/passwords", only: [:create, :new]
  resources :session, controller: "clearance/sessions", only: [:create]
  
  resources :users, controller: "users", only: [:create] do
    resources :password,
      controller: "clearance/passwords",
      only: [:create, :edit, :update]
  end
  
  root  to: "welcome#welcome_page"
  
  resources :welcome, only: [:welcome_page],  path:''
  resources :pages, only: [:show]
  resources :users
  
  mount RailsAdmin::Engine =&gt; '/admin', as: 'rails_admin'
  </code></pre>
  
  <p>Rails 5 + Ruby 2.2.2</p>