Actually set version

This commit is contained in:
Donovan Daniels 2024-06-03 03:07:09 -05:00
parent 3852b65d35
commit eca44717ba
Signed by: Donovan_DMC
GPG Key ID: 907D29CBFD6157BA
2 changed files with 6 additions and 0 deletions

View File

@ -97,6 +97,7 @@ class ApplicationController < ActionController::Base
render(json: {
success: true,
uptime: Time.now - Websites::STARTED_AT,
version: Websites.config.version,
})
end

View File

@ -0,0 +1,5 @@
# frozen_string_literal: true
#
Rails.configuration.to_prepare do
GitHelper.init
end