I want to use my devise generated views (with command rails g devise:views users) from app/views/users.
I already have set these options from app/initializers/devise.rb:
config.scoped_views = true
config.default_scope = :user
but it still uses default devise views from /usr/lib/ruby/gems/1.8/gems/devise-2.0.4/app/views/devise/
So what should I do?
Thanks.
For a custom login view, when you’re using the default
Userdevise resource, I think all you need is to createapp/views/devise/sessions/new.html.erb. And, just for the moment, let’s forget about the CRUD interface. And undo thoseconfig/initializers/devise.rbsettings. Just see if you can get that working.