class ActiveAdmin::BaseController

def only_render_implemented_actions

to check if they are implemented.
Admin allows you to not render any of the actions by using the #actions method, we need
By default Rails will render un-implemented actions when the view exists. Because Active
def only_render_implemented_actions
  raise AbstractController::ActionNotFound unless action_methods.include?(params[:action])
end