Module: Keynote::Controller
- Defined in:
- lib/keynote/controller.rb
Overview
Keynote::Controller is mixed into ActionController::Base and
ActionMailer::Base, providing a present method (aliased to k) for
instantiating presenters.
Instance Method Summary collapse
-
#present ⇒ Object
(also: #k)
Instantiate a presenter.
Instance Method Details
#present ⇒ Object Also known as: k
Instantiate a presenter.
10 |
# File 'lib/keynote/controller.rb', line 10 def present(...) = Keynote.present(view_context, ...) |