首页 > 代码库 > device 默认路由

device 默认路由

    new_user_session   GET    /users/sign_in                 {:controller=>"devise/sessions", :action=>"new"}          user_session POST   /users/sign_in                 {:controller=>"devise/sessions", :action=>"create"}  destroy_user_session GET    /users/sign_out                {:controller=>"devise/sessions", :action=>"destroy"}                       POST   /users/password(.:format)      {:controller=>"devise/passwords", :action=>"create"}         user_password PUT    /users/password(.:format)      {:controller=>"devise/passwords", :action=>"update"}     new_user_password GET    /users/password/new(.:format)  {:controller=>"devise/passwords", :action=>"new"}    edit_user_password GET    /users/password/edit(.:format) {:controller=>"devise/passwords", :action=>"edit"}                       POST   /users(.:format)               {:controller=>"devise/registrations", :action=>"create"}                       PUT    /users(.:format)               {:controller=>"devise/registrations", :action=>"update"}     user_registration DELETE /users(.:format)               {:controller=>"devise/registrations", :action=>"destroy"} new_user_registration GET    /users/sign_up(.:format)       {:controller=>"devise/registrations", :action=>"new"}edit_user_registration GET    /users/edit(.:format)          {:controller=>"devise/registrations", :action=>"edit"}

 

device 默认路由