Sha256: c2232ebe8877de1e6e751ec7eb4bf5f150a09645610148b2c6ec83f66bcc50cc
Contents?: true
Size: 794 Bytes
Versions: 15
Compression:
Stored size: 794 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
15 entries across 15 versions & 1 rubygems