mirror of
https://github.com/neocities/neocities.git
synced 2025-08-06 09:34:57 +02:00
fix for plan space on subscription
This commit is contained in:
parent
5abfcabe8b
commit
f2d6bf0eac
3 changed files with 2 additions and 3 deletions
2
app.rb
2
app.rb
|
@ -309,7 +309,7 @@ post '/plan/update' do
|
|||
reply_to: 'contact@neocities.org',
|
||||
to: current_site.email || parent_site.email,
|
||||
subject: "[Neocities] You've become a supporter!",
|
||||
body: Tilt.new('./views/templates/email_subscription.erb', pretty: true).render(self, plan_name: Site::PLAN_FEATURES[params[:plan_type].to_sym][:name])
|
||||
body: Tilt.new('./views/templates/email_subscription.erb', pretty: true).render(self, plan_name: Site::PLAN_FEATURES[params[:plan_type].to_sym][:name], plan_space: Site::PLAN_FEATURES[params[:plan_type].to_sym][:space].to_space_pretty)
|
||||
})
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue