class ActiveScaffold::Config::BatchDestroy
Attributes
link[RW]
the ActionLink for this action
process_mode[RW]
see class accessor
Public Class Methods
link()
click to toggle source
global level configuration
the ActionLink for this action
# File lib/active_scaffold/config/batch_destroy.rb, line 14 def self.link @@link end
link=(val)
click to toggle source
# File lib/active_scaffold/config/batch_destroy.rb, line 17 def self.link=(val) @@link = val end
new(core_config)
click to toggle source
Calls superclass method
# File lib/active_scaffold/config/batch_destroy.rb, line 5 def initialize(core_config) super @action_group ||= 'collection.batch.destroy' @process_mode = self.class.process_mode end
Public Instance Methods
label(model = nil)
click to toggle source
the label= method already exists in the Form base class
# File lib/active_scaffold/config/batch_destroy.rb, line 44 def label(model = nil) model ||= @core.label(:count => 2) @label ? as_(@label) : as_(:delete_model, :model => model) end