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


70
71
72
73
74
75
76
77
# File 'lib/active_admin/resource.rb', line 70

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