class ActiveScaffold::Config::Create

Attributes

action_after_create[RW]

whether the form stays open after a create or not

persistent[RW]

whether the form stays open after a create or not

refresh_list[RW]

whether we should refresh list after create or not

Public Class Methods

new(core_config) click to toggle source
Calls superclass method ActiveScaffold::Config::Form::new
# File lib/active_scaffold/config/create.rb, line 4
def initialize(core_config)
  super
  @label = :create_model
  self.persistent = self.class.persistent
  self.action_after_create = self.class.action_after_create
  self.refresh_list = self.class.refresh_list
end