debian-mirror-gitlab/app/controllers/instance_statistics/conversational_development_index_controller.rb
2018-12-05 23:21:45 +05:30

9 lines
337 B
Ruby

# frozen_string_literal: true
class InstanceStatistics::ConversationalDevelopmentIndexController < InstanceStatistics::ApplicationController
# rubocop: disable CodeReuse/ActiveRecord
def index
@metric = ConversationalDevelopmentIndex::Metric.order(:created_at).last&.present
end
# rubocop: enable CodeReuse/ActiveRecord
end