| Module | ABingoCampingPlugin::Controllers |
| In: |
lib/camping-abingo.rb
|
Controllers module for the ABingo Camping Plugin. The module will be plugged in to the main app controllers module using:
- extend to add class methods to the app controllers module
- include_abingo_controllers to dynamically plugin the ABingo and Helpers modules inside each controller class
(this is why the call must be the last statement in the controllers module)
Example:
module CampingABingoTest::Controllers
extend ABingoCampingPlugin::Controllers
# ...
include_abingo_controllers
end