| Module | Resourceful::Base |
| In: |
lib/resourceful/base.rb
|
All modules included by this module are made available to the controller as accessors.
This method is meant to be called by included classes. It takes a block of the same form as that given to Maker#make_resourceful. The Maker will then run that block along with the blocks given by the individual controllers.
# File lib/resourceful/base.rb, line 40
40: def self.made_resourceful(&block)
41: if block
42: @@made_resourceful_callbacks << block
43: else
44: @@made_resourceful_callbacks
45: end
46: end