Skip to content

New feature for mailer #106

Open
Open
@ujifgc

Description

@ujifgc

Implemented new way to call render in mailers. It allows to omit mailer name or mailer name and message name.

Example:

  mailer :sample do
    message :message2
      render 'congrats' #=> renders from 'sample/congrats'
    end
    message :message1
      render #=> renders from 'sample/message1'
    end
  end

padrino/padrino-framework@cc6fe63

ref: padrino/padrino-framework#1906

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions