mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
fix email template locations
This commit is contained in:
parent
72b9d19e8a
commit
19050fea82
4 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ post '/create' do
|
|||
unless education_whitelisted?
|
||||
@site.send_email(
|
||||
subject: "[Neocities] Welcome to Neocities!",
|
||||
body: Tilt.new('./views/templates/email_welcome.erb', pretty: true).render(self)
|
||||
body: Tilt.new('./views/templates/email/welcome.erb', pretty: true).render(self)
|
||||
)
|
||||
|
||||
send_confirmation_email @site
|
||||
|
|
|
@ -74,7 +74,7 @@ post '/supporter/update' do
|
|||
|
||||
site.send_email(
|
||||
subject: "[Neocities] You've become a supporter!",
|
||||
body: Tilt.new('./views/templates/email_subscription.erb', pretty: true).render(
|
||||
body: Tilt.new('./views/templates/email/subscription.erb', pretty: true).render(
|
||||
self, {
|
||||
username: site.username,
|
||||
plan_name: Site::PLAN_FEATURES[params[:plan_type].to_sym][:name],
|
||||
|
|
Loading…
Add table
Reference in a new issue