mirror of
https://github.com/neocities/neocities.git
synced 2025-08-05 17:18:02 +02:00
Email invoice support
This commit is contained in:
parent
ea760fc849
commit
68352e3d8f
3 changed files with 37 additions and 1 deletions
|
@ -265,6 +265,7 @@ post '/settings/change_email_notification' do
|
|||
owner.send_emails = params[:send_emails]
|
||||
owner.send_comment_emails = params[:send_comment_emails]
|
||||
owner.send_follow_emails = params[:send_follow_emails]
|
||||
owner.email_invoice = params[:email_invoice]
|
||||
owner.save_changes validate: false
|
||||
flash[:success] = 'Email notification settings have been updated.'
|
||||
redirect '/settings#email'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue