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

ActiveAdmin Inherited Everything From my Application Contrller #3143

robertomiranda opened this Issue May 16, 2014 · 3 comments


None yet
4 participants
Copy link

robertomiranda commented May 16, 2014

I need to be logged in the main site in order to access to the admin site

Since I have something like this

class ApplicationController <ActionController::Base
  before :authenticate_user!

Is really annoying this, I solved the issue creating another controller called BaseController

There's another way to solve this here?

ref activeadmin/inherited_resources#356


This comment has been minimized.

Copy link

mindhalt commented May 16, 2014

You can skip before actions.
Try adding

ActiveAdmin.setup do |config|
  config.skip_before_filter :authenticate_user!

in config/initializers/active_admin.rb

Will it help?


This comment has been minimized.

Copy link

timoschilling commented Oct 16, 2014

You are using devise? Than you don't need before :authenticate_user! in your ApplicationController.


This comment has been minimized.

Copy link

seanlinsley commented Oct 21, 2014

IR isn't accepting new features, so there's nothing we can do short of replacing or forking it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment