Sha256: 3e9924c69025d97af8b82cc42f0252761c5e2c1edbb525b79d47f229c3e7f061

Contents?: true

Size: 351 Bytes

Versions: 2

Compression:

Stored size: 351 Bytes

Contents

class Cohortly::ReportsController < Cohortly::CohortlyController
  def index
    @metric_search = Cohortly::Metric.new(params[:cohortly_metric])
    tags = @metric_search.tags.any? ? @metric_search.tags : nil
    Cohortly::Metric.cohort_chart_for_tag(tags)    
    @report = Cohortly::Report.new( Cohortly::Metric.report_table_name(tags) )
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cohortly-0.0.3 app/controllers/cohortly/reports_controller.rb
cohortly-0.0.2 app/controllers/cohortly/reports_controller.rb