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, options = {}) ⇒ Object
56 57 58 59 60 61 62 63 |
# File 'lib/active_admin/resource.rb', line 56 def initialize(namespace, resource, = {}) @namespace = namespace @resource = resource @options = .merge() @sort_order = @options[:sort_order] @page_configs = {} @member_actions, @collection_actions = [], [] end |