diff options
author | Ash Furrow <ash@ashfurrow.com> | 2017-04-20 21:30:59 -0400 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-21 03:30:59 +0200 |
commit | a0ed88a99b736cc786b048126580a7e73c68b07e (patch) | |
tree | a1d53aa9f65a0cfe4717ca3f31819bb3c74bd490 /app/views/api/v1 | |
parent | 25d2853db2cb6603c398b6622526e579e974d593 (diff) |
Adds version to about/more and API (#2181)
* Adds version. * Cleans up code. * Removes standalone endpoint and adds version to instance endpoint. * Addresses feedback from #2181.
Diffstat (limited to 'app/views/api/v1')
-rw-r--r-- | app/views/api/v1/instances/show.rabl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/api/v1/instances/show.rabl b/app/views/api/v1/instances/show.rabl index f5598fde3..e1d4700a0 100644 --- a/app/views/api/v1/instances/show.rabl +++ b/app/views/api/v1/instances/show.rabl @@ -4,3 +4,4 @@ node(:uri) { site_hostname } node(:title) { Setting.site_title } node(:description) { Setting.site_description } node(:email) { Setting.site_contact_email } +node(:version) { Mastodon::VERSION } |