Sha256: 45d17c83c0233eb5f48a9543316193547a69392602e30368c5b6590f50eda771
Contents?: true
Size: 347 Bytes
Versions: 56
Compression:
Stored size: 347 Bytes
Contents
require_dependency "avo/base_controller" module Avo class ChartsController < BaseController def distribution_chart @values_summary = resource.model_class.group(params[:field_id]).reorder("count_all desc").count @field_id = params[:field_id] render "avo/partials/distribution_chart", layout: "avo/blank" end end end
Version data entries
56 entries across 56 versions & 1 rubygems