Ruby on rails RubyonRails上的路由错误

Ruby on rails RubyonRails上的路由错误,ruby-on-rails,Ruby On Rails,我正在学习Michael Hartl的Ruby on Rails教程,但遇到了一个路由错误。 这是执行rake routes后的终端输出: users GET /users(.:format) users#index POST /users(.:format) users#create new_user GET /users/new(.:format) users#new edit_use

我正在学习Michael Hartl的Ruby on Rails教程,但遇到了一个路由错误。
这是执行rake routes后的终端输出:

      users GET    /users(.:format)          users#index
            POST   /users(.:format)          users#create
   new_user GET    /users/new(.:format)      users#new
  edit_user GET    /users/:id/edit(.:format) users#edit
       user GET    /users/:id(.:format)      users#show
            PUT    /users/:id(.:format)      users#update
            DELETE /users/:id(.:format)      users#destroy
   sessions POST   /sessions(.:format)       sessions#create
new_session GET    /sessions/new(.:format)   sessions#new
    session DELETE /sessions/:id(.:format)   sessions#destroy
       root        /                         static_pages#home
     signup        /signup(.:format)         users#new
     signin        /signin(.:format)         sessions#new
    signout DELETE /signout(.:format)        sessions#destroy
       help        /help(.:format)           static_pages#help
      about        /about(.:format)          static_pages#about
    contact        /contact(.:format)        static_pages#contact
路由错误如下所示
当localhost:3000/登录/或localhost:3000/会话/新建时

No route matches {:action=>"destroy", :controller=>"sessions"}

有人知道如何更正路线设置吗?

在路线文件中有这样一行吗


match'/signout',:to=>“sessions#destroy”

我自己做了教程,很好。您在哪一章中,以及
config/routes.rb
文件的外观如何?感谢您的重播。我正在做第8章,关于
sessions\u controller
?以及(再次)配置/routes.rb文件,请告诉我们您的路线和相关的controller/view