]> cat aescling's git repositories - mastodon.git/commitdiff
Fix API for Mastodon version (#2590)
authorYamagishi Kazutoshi <ykzts@desire.sh>
Fri, 28 Apr 2017 15:53:37 +0000 (00:53 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 28 Apr 2017 15:53:37 +0000 (17:53 +0200)
Fix #2589

app/views/api/v1/instances/show.rabl

index 8ab3fe0caeb4be6650686f96108ac51e14561a3b..313aabb0b9c04c05ef2be4901eb8c68c7c5e37c6 100644 (file)
@@ -4,4 +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 }
+node(:version)     { Mastodon::Version.to_s }