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

Version Path
active_scaffold-3.4.30 lib/active_scaffold/config/show.rb
active_scaffold-3.4.29 lib/active_scaffold/config/show.rb
active_scaffold-3.4.28 lib/active_scaffold/config/show.rb
active_scaffold-3.4.27 lib/active_scaffold/config/show.rb
active_scaffold-3.4.26 lib/active_scaffold/config/show.rb
active_scaffold-3.4.25 lib/active_scaffold/config/show.rb
active_scaffold-3.4.24 lib/active_scaffold/config/show.rb
active_scaffold-3.4.23 lib/active_scaffold/config/show.rb
active_scaffold-3.4.22 lib/active_scaffold/config/show.rb
active_scaffold-3.4.21.1 lib/active_scaffold/config/show.rb
active_scaffold-3.4.21 lib/active_scaffold/config/show.rb
active_scaffold-3.4.20 lib/active_scaffold/config/show.rb
active_scaffold-3.4.19 lib/active_scaffold/config/show.rb
active_scaffold-3.4.18.1 lib/active_scaffold/config/show.rb
active_scaffold-3.4.18 lib/active_scaffold/config/show.rb