Topic: Rails Admin / Devise views

I'm using Rails Admin - which uses Devise.

I would like to be able to edit the log-in/sign-up etc. views.
I tried:
$ rails generate devise_views
But, I get "Could not find generator devise_views"

Any ideas?


Last edited by reddirt (2012-02-10 10:05:21)

Re: Rails Admin / Devise views

This worked:

$ rails generate devise:views

Re: Rails Admin / Devise views

Also, if you have different roles (such as Admin and Users), you can edit their views separately by running

rails generate devise:views Admin
rails generate devise:views User

That will create the needed views directories for editing individual pages for their roles.

Just FYI

Remember to edit your topic title and add "[SOLVED]" if your question has been answered!

Follow me!

Re: Rails Admin / Devise views

Cool - thanks!!