I am creating a social network project and for this I am using the devise gem, everything is fine (user registration, I think post) but when I close the user's session I get this error message:
"No route matches [GET]" / users / sign_out "
and then the code that leads to it is:
"<li><%= link_to "Cerrar Sesion", destroy_user_session_path, method: :delete %></li>