RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: ejholmes
Site: http://ejholmes.github.com
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.
app/views/active_admin/devise/sessions/new.html.erb
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.
routes.rb
# devise_for :admin_users, ActiveAdmin::Devise.config devise_for :admin_users
And updating config/initializers/active_admin as you see fit.
config/initializers/active_admin
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.And updating
config/initializers/active_admin
as you see fit.