Class: ActiveScaffold::Config::Show

Inherits:
Base show all
Defined in:
lib/active_scaffold/config/show.rb

Constant Summary collapse

ActiveScaffold::DataStructures::ActionLink.new('show', :label => :show, :type => :member, :security_method => :show_authorized?, :ignore_method => :show_ignore?)

Instance Attribute Summary collapse

Attributes inherited from Base

#action_group, #core, #formats, #user

Method Summary

Methods inherited from Base

#crud_type, inherited, #initialize, #label

Methods included from ActiveScaffold::Configurable

#configure, #method_missing

Constructor Details

This class inherits a constructor from ActiveScaffold::Config::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ActiveScaffold::Configurable

Instance Attribute Details

#label=(value) ⇒ Object (writeonly)

the label for this action. used for the header.



15
16
17
# File 'lib/active_scaffold/config/show.rb', line 15

def label=(value)
  @label = value
end

the ActionLink for this action



13
14
15
# File 'lib/active_scaffold/config/show.rb', line 13

def link
  @link
end