Module: Xhive::InstanceMethods
- Defined in:
- lib/xhive/controller.rb
Instance Method Summary collapse
-
#set_current_controller ⇒ Object
This is to access the current_controller from within presenters.
Instance Method Details
#set_current_controller ⇒ Object
This is to access the current_controller from within presenters
18 19 20 |
# File 'lib/xhive/controller.rb', line 18 def set_current_controller @@current_controller = self end |