class ActiveScaffold::Config::Show

Attributes

label[W]

the label for this action. used for the header.

Public Class Methods

new(core_config) click to toggle source
Calls superclass method ActiveScaffold::Config::Base::new
# File lib/active_scaffold/config/show.rb, line 5
def initialize(core_config)
  super
  # start with the ActionLink defined globally
  @link = self.class.link.clone
  @action_group = self.class.action_group.clone if self.class.action_group
end

Public Instance Methods

columns() click to toggle source

provides access to the list of columns specifically meant for this action to use

# File lib/active_scaffold/config/show.rb, line 25
def columns
  self.columns = @core.columns._inheritable unless @columns # lazy evaluation
  @columns
end