rename method
This commit is contained in:
parent
dde8fba524
commit
7a63021ab3
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ class Projects::CycleAnalyticsController < Projects::ApplicationController
|
|||
def show
|
||||
@cycle_analytics = ::CycleAnalytics.new(@project, from: start_date(cycle_analytics_params))
|
||||
|
||||
stats_values, cycle_analytics_json = generate_cycle_analytics_json
|
||||
stats_values, cycle_analytics_json = generate_cycle_analytics_data
|
||||
|
||||
@cycle_analytics_not_set_up = stats_with_no_data?(stats_values)
|
||||
|
||||
|
@ -26,7 +26,7 @@ class Projects::CycleAnalyticsController < Projects::ApplicationController
|
|||
{ start_date: params[:cycle_analytics][:start_date] }
|
||||
end
|
||||
|
||||
def generate_cycle_analytics_json
|
||||
def generate_cycle_analytics_data
|
||||
stats_values = []
|
||||
|
||||
cycle_analytics_view_data = [[:issue, "Issue", "Time before an issue gets scheduled"],
|
||||
|
|
Loading…
Reference in a new issue