How do I change default Devise views paths?
I am developing a Rails project with Devise. By default all Devise views go to app/views/devise/...
I would like instead, to have them in /app/views/users/... like:
app/views/users/sessionsapp/views/users/registration- etc.
I got as far as rails generate devise:views users, but there is also some cod开发者_如何学Ce change involved.
I don't want to change the controllers. I just want to have views in a different directory than the default one.
I think without changing the controller you cant change the default folder for devise views. I suggest if you want to have different views then just make your changes in devise views.
加载中,请稍侯......
精彩评论