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

Version Path
active_scaffold-3.4.17 lib/active_scaffold/config/show.rb
active_scaffold-3.4.16 lib/active_scaffold/config/show.rb
active_scaffold-3.4.14 lib/active_scaffold/config/show.rb
active_scaffold-3.4.13 lib/active_scaffold/config/show.rb
active_scaffold-3.4.12 lib/active_scaffold/config/show.rb
active_scaffold-3.4.11 lib/active_scaffold/config/show.rb
active_scaffold-3.4.10 lib/active_scaffold/config/show.rb
active_scaffold-3.4.9 lib/active_scaffold/config/show.rb
active_scaffold-3.4.8 lib/active_scaffold/config/show.rb
active_scaffold-3.4.7 lib/active_scaffold/config/show.rb
active_scaffold-3.4.5 lib/active_scaffold/config/show.rb
active_scaffold-3.4.4 lib/active_scaffold/config/show.rb
active_scaffold-3.4.3 lib/active_scaffold/config/show.rb
active_scaffold-3.4.2 lib/active_scaffold/config/show.rb
active_scaffold-3.4.1 lib/active_scaffold/config/show.rb
active_scaffold-3.4.0.1 lib/active_scaffold/config/show.rb
active_scaffold-3.4.0 lib/active_scaffold/config/show.rb