modules_controller.rb 364 Bytes
class ModulesController < ApplicationController
  # POST /modules/1/metric_history
  def metric_history
    @module_result = ModuleResult.find(params[:id].to_i)
    @container = params[:container]
    @metric_name = params[:metric_name]
  end

  # POST /modules/1/tree
  def load_module_tree
    @root_module_result = ModuleResult.find(params[:id].to_i)
  end
end