diff --git a/app/controllers/modules_controller.rb b/app/controllers/modules_controller.rb index 6896737..cb5c101 100644 --- a/app/controllers/modules_controller.rb +++ b/app/controllers/modules_controller.rb @@ -1,8 +1,9 @@ +require 'json' class ModulesController < ApplicationController - + # GET /modules/metric_history def metric_history - + render :json => {mk: "monkey"}.to_json end end \ No newline at end of file diff --git a/app/views/repositories/_metric_result.html.erb b/app/views/repositories/_metric_result.html.erb index cd64484..b590fea 100644 --- a/app/views/repositories/_metric_result.html.erb +++ b/app/views/repositories/_metric_result.html.erb @@ -3,8 +3,8 @@ <% range_snapshot = find_range_snapshot(metric_result) %>