To create User Admin devise model with Articles of polymorphic ownership example
Goal is to create url of this sort:
localhost/user/articles
localhost/admin/articles
Using namespace to achieve this.
Some help:
github.com/plataformatec/devise For specific views for devise config.scoped_views = true inside the config/initializers/devise.rb rails generate devise:views users
rake doc:app
.