Sha256: 6b94403ec9788bd5b16f45346b161845557b9d1eb0aba94cdb6e7ce945434a10
Contents?: true
Size: 477 Bytes
Versions: 34
Compression:
Stored size: 477 Bytes
Contents
# frozen_string_literal: true module Decidim module Admin class MetricsController < Decidim::Admin::ApplicationController helper_method :metrics_presenter def index enforce_permission_to :read, :metrics end private def metrics_presenter @metrics_presenter ||= Decidim::Admin::DashboardMetricChartsPresenter.new( summary: false, organization: current_organization ) end end end end
Version data entries
34 entries across 34 versions & 1 rubygems