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
71 72 73 74 75 76 77 78 |
# File 'lib/active_admin/resource.rb', line 71 def initialize(namespace, resource_class, = {}) @namespace = namespace @resource_class_name = "::#{resource_class.name}" @options = @sort_order = [:sort_order] @member_actions = [] @collection_actions = [] end |