Module: Resubject::Helpers
- Defined in:
- lib/resubject/rails/helpers.rb
Overview
ActionController helpers
In case you have Rails, these helpers will be automatically included
Class Method Summary collapse
-
.included(base) ⇒ Object
adds present as a helper method in the controller.
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
adds present as a helper method in the controller
8 9 10 |
# File 'lib/resubject/rails/helpers.rb', line 8 def self.included(base) base.send(:helper_method, :present) end |