Forum: Ruby on Rails Dealing with *a lot* of Mailers

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Dylan S. (Guest)
on 2006-02-17 05:52
(Received via mailing list)
Anybody here deal with "a lot" of ActionMailers ?

I have a lot of places within my application that send out emails to
various
parties.
My /views directory has a directory for each type of mail... ie:
new_user_mailer/
forgot_password_mailer/
...etc

The /views directory is getting quite full of directories because of
this,
and I've tried working some
magic to get the views pushed into a generic /mailer parent folder, but
to
no avail.

Anybody else run into this ?  Or, am I just about completely retarded ?
Joe (Guest)
on 2006-02-17 07:19
I have many different types of mail templates, but they're all in
app/views/notifier, with a single notifier model.

Joe
Dylan S. (Guest)
on 2006-02-17 21:20
(Received via mailing list)
That makes sense.  I just condensed everything into a nice logical
model/view.  Thanks Joe !
This topic is locked and can not be replied to.