Class: ActiveScaffold::Config::DeletedRecords

Inherits:
Base
  • Object
show all
Defined in:
lib/active_scaffold/bridges/paper_trail/config.rb

Constant Summary collapse

ActiveScaffold::DataStructures::ActionLink.new(:deleted, :label => :deleted_records, :type => :collection)
:changes
'member'

Constants inherited from Base

Base::NO_FORMATS

Instance Attribute Summary collapse

Attributes inherited from Base

#action_group, #core, #formats, #user_settings_key

Instance Method Summary collapse

Methods inherited from Base

#crud_type, inherited, #label, #model_id, #new_user_settings, #setup_user_setting_key, #user

Methods included from ActiveScaffold::Configurable

#configure, #method_missing, #respond_to_missing?

Constructor Details

#initialize(core_config) ⇒ DeletedRecords

Returns a new instance of DeletedRecords.



5
6
7
8
9
# File 'lib/active_scaffold/bridges/paper_trail/config.rb', line 5

def initialize(core_config)
  super
  @nested_link_label = self.class.nested_link_label
  @nested_link_group = self.class.nested_link_group
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ActiveScaffold::Configurable

Instance Attribute Details

group for versions nested link



27
28
29
# File 'lib/active_scaffold/bridges/paper_trail/config.rb', line 27

def nested_link_group
  @nested_link_group
end

label for versions nested link



24
25
26
# File 'lib/active_scaffold/bridges/paper_trail/config.rb', line 24

def nested_link_label
  @nested_link_label
end