RailsCasts Pro episodes are now free!

Learn more or hide this

Eric Holmes's Profile

GitHub User: ejholmes

Site: http://ejholmes.github.com

Comments by Eric Holmes

Avatar

The simplest method is to copy the app/views/active_admin/devise/sessions/new.html.erb file (you can find it here https://github.com/gregbell/active_admin/blob/master/app/views/active_admin/devise/sessions/new.html.erb) to your application directory, then just make any changes that you might need.

Internally, active admin uses devise, so you can go as far as just doing away with active admin's devise config, by replacing the following code in your routes.rb file.

ruby
  # devise_for :admin_users, ActiveAdmin::Devise.config
  devise_for :admin_users

And updating config/initializers/active_admin as you see fit.