about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-03-15 23:13:18 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-03-15 23:13:18 +0100
commita2696cf54284107b3ac846d5ac311f5d471022fd (patch)
tree99af4a2c5355dc7ad3fa39ed828332db24bda799 /app/views
parent74ae158c2f7b7d282ce1cc754ac83d27467a7215 (diff)
parent6be7bde24378bcb034552248021ea2450bb10524 (diff)
Merge branch 'marrus-sh-mastodon-site-api'
Diffstat (limited to 'app/views')
-rw-r--r--app/views/api/v1/instances/show.rabl6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/api/v1/instances/show.rabl b/app/views/api/v1/instances/show.rabl
new file mode 100644
index 000000000..88eb08a9e
--- /dev/null
+++ b/app/views/api/v1/instances/show.rabl
@@ -0,0 +1,6 @@
+object false
+
+node(:uri)         { Rails.configuration.x.local_domain }
+node(:title)       { Setting.site_title }
+node(:description) { Setting.site_description }
+node(:email)       { Setting.site_contact_email }