plataformatec/devise — Issue #1521: Generators not adding routes
Author: cnk
Created: 2011-12-25 20:15:47+00:00
State: open

Previous versions of devise added "devise_for :your_model" when running "rails generate devise YourModel". Devise 2.0.0rc does not do this when running either "rails generate active_record:devise YourModel" or "rails generate mongoid:devise YourModel". I am unclear if this was an intentional change or not. If it was, then perhaps you could add a line to the feedback from "rails generate devise:install" telling folks to add "devise_for :your_model" when adding a root_url.