Sign-out link isn\'t working in my rails application.
I have checked my routes.rb which is listed below and my application.html.erb looks to follow the right path.>
This worked for me
#form <%= link_to(destroy_user_session_path, {:class => "nav-link", :method => :delete}) do %> Logout <% end %> #routes devise_scope :user do get '/users/sign_out' => 'devise/sessions#destroy' end