Sha256: aa7f40dc721ffbec419fcb2cac23f6ca13d50c1870e48fd382dfd4781fac794a
Contents?: true
Size: 798 Bytes
Versions: 17
Compression:
Stored size: 798 Bytes
Contents
module ActiveScaffold::Config class Show < Base self.crud_type = :read # global level configuration # -------------------------- cattr_accessor :link @@link = ActiveScaffold::DataStructures::ActionLink.new('show', :label => :show, :type => :member, :security_method => :show_authorized?, :ignore_method => :show_ignore?) # instance-level configuration # ---------------------------- # the ActionLink for this action attr_accessor :link # the label for this action. used for the header. attr_writer :label # provides access to the list of columns specifically meant for this action to use def columns self.columns = @core.columns._inheritable unless @columns # lazy evaluation @columns end public :columns= end end
Version data entries
17 entries across 17 versions & 1 rubygems