module Padrino::Responders

This component is used to create slim controllers without unnecessery and repetitive code.

Public Class Methods

included(app) click to toggle source
Alias for: registered
registered(app) click to toggle source
# File lib/padrino-responders.rb, line 18
def registered(app)
  app.set :notifier, Padrino::Responders::Notifiers::FlashNotifier
  app.helpers Padrino::Responders::Helpers::ControllerHelpers
  app.send :include, Padrino::Responders::Default
end
Also aliased as: included