Add privacy policy (#4415).

This commit is contained in:
evazion
2020-05-26 00:54:27 -05:00
parent f0a573e1e5
commit b5fc8fff6e
7 changed files with 501 additions and 0 deletions

View File

@@ -28,6 +28,11 @@ module Danbooru
Socket.gethostname
end
# The canonical url for the site (e.g. https://danbooru.donmai.us)
def canonical_url
"https://#{hostname}"
end
# Contact email address of the admin.
def contact_email
"webmaster@#{hostname}"