Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

roles generator messes up routes file #9

Closed
val99erie opened this issue Nov 15, 2013 · 1 comment
Closed

roles generator messes up routes file #9

val99erie opened this issue Nov 15, 2013 · 1 comment
Assignees

Comments

@val99erie
Copy link
Contributor

I had this line in my routes file:

devise_for :users, controllers: { sessions: :sessions, registrations: :registrations}

When I ran "rails generate roles", it inserted the role management line in the middle of the devise line, so my routes file looked like this:

devise_for :users
mount Hydra::RoleManagement::Engine => '/'
, controllers: { sessions: :sessions, registrations: :registrations}
@cgalarza
Copy link

cgalarza commented Aug 3, 2015

+1

Running the generators did the same thing for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants