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



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

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