mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
Version check gets how many versions behind you are, and shows judgemental faces on the dashboard
This commit is contained in:
@ -5,7 +5,7 @@ class DiscourseVersionCheck
|
||||
include ActiveAttr::MassAssignment
|
||||
include ActiveModel::Serialization
|
||||
|
||||
attr_accessor :latest_version, :critical_updates, :installed_version, :installed_sha
|
||||
attr_accessor :latest_version, :critical_updates, :installed_version, :installed_sha, :missing_versions_count
|
||||
|
||||
def active_model_serializer
|
||||
DiscourseVersionCheckSerializer
|
||||
|
Reference in New Issue
Block a user