To use Devise (which Active Admin uses for authentication) for a page in the same application but not the actual Active Admin page, I did the following:
on my routes .rb I added a new route:
devise_scope :admin_user do resources :products end
then in my product_controller.rb I added a before_filter file to restrict access:
class ProductsController < ApplicationController before_filter :authenticate_admin_user!
Hope this helps!
source share