Class: ActiveScaffold::Config::DeletedRecords
- Defined in:
- lib/active_scaffold/bridges/paper_trail/config.rb
Constant Summary collapse
- @@link =
ActiveScaffold::DataStructures::ActionLink.new(:deleted, :label => :deleted_records, :type => :collection)
- @@nested_link_label =
:changes
- @@nested_link_group =
'member'
Instance Attribute Summary collapse
-
#nested_link_group ⇒ Object
group for versions nested link.
-
#nested_link_label ⇒ Object
label for versions nested link.
Attributes inherited from Base
#action_group, #core, #formats, #user
Instance Method Summary collapse
-
#initialize(core_config) ⇒ DeletedRecords
constructor
A new instance of DeletedRecords.
Methods inherited from Base
Methods included from ActiveScaffold::Configurable
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
#nested_link_group ⇒ Object
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 |
#nested_link_label ⇒ Object
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 |