Class: ActiveScaffold::Config::Show
- Defined in:
- lib/active_scaffold/config/show.rb
Constant Summary collapse
- @@link =
ActiveScaffold::DataStructures::ActionLink.new('show', :label => :show, :type => :member, :security_method => :show_authorized?, :ignore_method => :show_ignore?)
Instance Attribute Summary collapse
-
#label ⇒ Object
writeonly
the label for this action.
-
#link ⇒ Object
the ActionLink for this action.
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
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 |
#link ⇒ Object
the ActionLink for this action
13 14 15 |
# File 'lib/active_scaffold/config/show.rb', line 13 def link @link end |