sferik/rails_admin — Issue #786: skip_before_filter
Author: michelson
Created: 2011-10-18 04:18:05+00:00
State: open

Hello there,

im wondering how can skip filters in rails admin

in active_admin we can set this in the active_admin initializer configuration, like

config.skip_before_filter [:send_user_to_account, :find_account]

i tried this but dont work in RailsAdmin, also i tried this in application.rb with something like:

config.to_prepare {
RailsAdmin::ApplicationController.skip_before_filter [:send_user_to_account, :find_account]
RailsAdmin::MainController.skip_before_filter [:send_user_to_account, :find_account]
}

but with no luck either.

any ideas how can i do this ?
thanks