Module: ActiveAdmin::Resource::Base

Included in:
ActiveAdmin::Resource
Defined in:
lib/active_admin/resource.rb

Instance Method Summary collapse

Instance Method Details

#initialize(namespace, resource_class, options = {}) ⇒ Object


61
62
63
64
65
66
67
# File 'lib/active_admin/resource.rb', line 61

def initialize(namespace, resource_class, options = {})
  @namespace = namespace
  @resource_class_name = "::#{resource_class.name}"
  @options    = options
  @sort_order = options[:sort_order]
  @member_actions, @collection_actions = [], []
end