added upgrade mailer

This commit is contained in:
albert
2011-12-02 16:46:37 -05:00
parent caf39d1962
commit 4baf5be7a2
7 changed files with 28 additions and 4 deletions

View File

@@ -22,6 +22,10 @@ module Danbooru
"webmaster@#{server_host}"
end
def upgrade_account_email
contact_email
end
# Stripped of any special characters.
def safe_app_name
app_name.gsub(/[^a-zA-Z0-9_-]/, "_")