Skip to content

template_path support? #29

@dnlsandiego

Description

@dnlsandiego

Does this gem support a template_path option à la Rails ActionMailer? So instead of putting all the <texter_name> views under app/views it can be anywhere like app/views/texters.

I tried emulating the ActionMailer way like so:

class UserTexter < Textris::Base
  default from: 'Our Team <+1 500-555-0006>'
  default template_path: "texters/#{name.underscore}"
  ...
end

But it still looks exclusively under app/views.

Use case for this would be to separate texters from mailers and every other views under app/views to allow view organization like the following:

  • app/views/mailers
  • app/views/texters

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