diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-03-15 22:55:58 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-03-15 22:55:58 +0100 |
commit | 7b58c1a694eed95e367cc8d078f91c390dffec4d (patch) | |
tree | 3a00b0cda91fc0bf28e78bab91d9cc93647e9f56 /app/views/api/v1 | |
parent | 74ae158c2f7b7d282ce1cc754ac83d27467a7215 (diff) | |
parent | e245115f47082ffba27205f508301d14e792c369 (diff) |
Merge branch 'mastodon-site-api' of https://github.com/marrus-sh/ardipithecus into marrus-sh-mastodon-site-api
Diffstat (limited to 'app/views/api/v1')
-rw-r--r-- | app/views/api/v1/site/index.rabl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/api/v1/site/index.rabl b/app/views/api/v1/site/index.rabl new file mode 100644 index 000000000..09f78560b --- /dev/null +++ b/app/views/api/v1/site/index.rabl @@ -0,0 +1,14 @@ +object false + +node(:title) {Setting.site_title} + +node(:max_chars) {500} + +node(:links) do + { + t('about.learn_more') => url_for(about_more_url), + t('about.terms') => url_for(terms_url), + t('about.source_code') => "https://github.com/tootsuite/mastodon", + t('about.other_instances') => "https://github.com/tootsuite/mastodon/blob/master/docs/Using-Mastodon/List-of-Mastodon-instances.md", + } +end |