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

Instance Method Details

#presentObject Also known as: k

Instantiate a presenter.

See Also:



10
# File 'lib/keynote/controller.rb', line 10

def present(...) = Keynote.present(view_context, ...)