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. --- config/application.rb | 1 + config/locales/en.yml | 1 + 2 files changed, 2 insertions(+) (limited to 'config') diff --git a/config/application.rb b/config/application.rb index 59aa7b5f5..e67e3e051 100644 --- a/config/application.rb +++ b/config/application.rb @@ -9,6 +9,7 @@ Bundler.require(*Rails.groups) require_relative '../app/lib/exceptions' require_relative '../lib/paperclip/gif_transcoder' require_relative '../lib/paperclip/video_transcoder' +require_relative '../lib/mastodon/version' Dotenv::Railtie.load diff --git a/config/locales/en.yml b/config/locales/en.yml index c7b6a17d6..c1438134f 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -29,6 +29,7 @@ en: terms: Terms user_count_after: users user_count_before: Home to + version: Version accounts: follow: Follow followers: Followers -- cgit