From a0ed88a99b736cc786b048126580a7e73c68b07e Mon Sep 17 00:00:00 2001 From: Ash Furrow Date: Thu, 20 Apr 2017 21:30:59 -0400 Subject: 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. --- app/views/api/v1/instances/show.rabl | 1 + 1 file changed, 1 insertion(+) (limited to 'app/views/api/v1') 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 } -- cgit