2018-07-18 00:37:58 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-12-03 18:06:49 +00:00
|
|
|
class InstanceStatistics::DevOpsScoreController < InstanceStatistics::ApplicationController
|
2018-08-27 15:31:01 +00:00
|
|
|
# rubocop: disable CodeReuse/ActiveRecord
|
2018-07-18 00:37:58 +00:00
|
|
|
def index
|
2019-12-03 09:09:09 +00:00
|
|
|
@metric = DevOpsScore::Metric.order(:created_at).last&.present
|
2018-07-18 00:37:58 +00:00
|
|
|
end
|
2018-08-27 15:31:01 +00:00
|
|
|
# rubocop: enable CodeReuse/ActiveRecord
|
2018-07-18 00:37:58 +00:00
|
|
|
end
|