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.
This commit is contained in:
Ash Furrow authored and Eugen committed 2017-04-21 03:30:59 +02:00
1 parent 25d2853db2
commit a0ed88a99b
7 files changed
+17

No files matched your search

+1
View File
@@ -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 }