简体   繁体   中英

Ruby on Rails - Devise Views

when we install the gem Devise, the corresponding views are automatically created?

I've installed the gem on an existing model User and it's letting me do the registration and login, but I can't seem to find the folder containing the views...

如文档( https://github.com/plataformatec/devise#configuring-views )中所述,要生成视图,请运行:

rails g devise:views user

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM