Sha256: 3ba0948b1277c502c2741956385d37ba39af54a2dd6a3568578237c327cb3e4a

Contents?: true

Size: 285 Bytes

Versions: 10

Compression:

Stored size: 285 Bytes

Contents

module ActiveTracker
  class DashboardController < ActiveTracker::BaseController
    def index
      @statistics = []
      ActiveTracker::Configuration.plugins.each do |plugin|
        @statistics << [*plugin.statistics] if plugin.respond_to?(:statistics)
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
activetracker-0.4.9 app/controllers/active_tracker/dashboard_controller.rb
activetracker-0.4.8 app/controllers/active_tracker/dashboard_controller.rb
activetracker-0.4.7 app/controllers/active_tracker/dashboard_controller.rb
activetracker-0.4.6 app/controllers/active_tracker/dashboard_controller.rb
activetracker-0.4.5 app/controllers/active_tracker/dashboard_controller.rb
activetracker-0.4.4 app/controllers/active_tracker/dashboard_controller.rb
activetracker-0.4.3 app/controllers/active_tracker/dashboard_controller.rb
activetracker-0.4.2 app/controllers/active_tracker/dashboard_controller.rb
activetracker-0.4.1 app/controllers/active_tracker/dashboard_controller.rb
activetracker-0.4.0 app/controllers/active_tracker/dashboard_controller.rb