Module: Sinatra::MailerPlugin

Defined in:
lib/sinatra/mailer_plugin.rb,
lib/sinatra/mailer_plugin/mail_object.rb,
lib/sinatra/mailer_plugin/mailer_base.rb

Defined Under Namespace

Classes: MailObject, MailerBase

Class Method Summary collapse

Class Method Details

.registered(app) ⇒ Object



8
9
10
# File 'lib/sinatra/mailer_plugin.rb', line 8

def self.registered(app)
  MailerBase::views_path = app.views
end