Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

template_path support? #29

Open
dnlsandiego opened this issue Nov 28, 2016 · 1 comment
Open

template_path support? #29

dnlsandiego opened this issue Nov 28, 2016 · 1 comment

Comments

@dnlsandiego
Copy link

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
@Marahin
Copy link
Contributor

Marahin commented May 20, 2019

Hi! Sorry for a huge time without any response here. We're doing our best to de-dust open source projects, but as of writing I must say that we do not meet required throughput to provide resolution for this issue. I'll add Help Wanted label here and if anyone comes up - feel more than welcome to contribute and open a PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants