class ActiveScaffold::Config::Duplicate
Attributes
action_after_clone[RW]
which action render after clone with post
action_view[RW]
which view render when method is :get (used as respond_to_action argument)
link[RW]
the ActionLink for this action
method[RW]
the method to clone records
refresh_list[RW]
whether we should refresh list after clone or not
Public Class Methods
new(core_config)
click to toggle source
Calls superclass method
# File lib/active_scaffold/config/duplicate.rb, line 5 def initialize(core_config) super self.method = self.class.method self.action_after_clone = self.class.action_after_clone self.action_view = self.class.action_view self.refresh_list = self.class.refresh_list end