Sha256: 5d6856f723f422db8e86f999ab575d54a243ac81cbaedd14ebe3d7943beaf094
Contents?: true
Size: 502 Bytes
Versions: 13
Compression:
Stored size: 502 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, view_context: ) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems