Sha256: 574b0a0418864a02222c7534ccbc1e800cc1cfcc691438eb18c364ed6fd6d1d3
Contents?: true
Size: 886 Bytes
Versions: 17
Compression:
Stored size: 886 Bytes
Contents
module ActiveScaffold::Config class Update < ActiveScaffold::Config::Form self.crud_type = :update def initialize(core_config) super self.nested_links = self.class.nested_links end # global level configuration # -------------------------- # the ActionLink for this action def self.link @@link end def self.link=(val) @@link = val end @@link = ActiveScaffold::DataStructures::ActionLink.new('edit', :label => :edit, :type => :member, :security_method => :update_authorized?, :ignore_method => :update_ignore?) # instance-level configuration # ---------------------------- attr_accessor :nested_links cattr_accessor :nested_links @@nested_links = false attr_writer :hide_nested_column def hide_nested_column @hide_nested_column.nil? ? true : @hide_nested_column end end end
Version data entries
17 entries across 17 versions & 1 rubygems