Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-11-21 17:45:15 +0300
committerJames Lopez <james@jameslopez.es>2016-11-21 19:19:18 +0300
commit7a63021ab3793ea64ead0d18cbd6ba1e62aa11bc (patch)
tree84233aa140048b62e5cf0b22ed08cb704e030eba /app/controllers/projects/cycle_analytics_controller.rb
parentdde8fba524aa071d08121818a1e2c3d635664819 (diff)
rename method
Diffstat (limited to 'app/controllers/projects/cycle_analytics_controller.rb')
-rw-r--r--app/controllers/projects/cycle_analytics_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/projects/cycle_analytics_controller.rb b/app/controllers/projects/cycle_analytics_controller.rb
index b75b391b461..f1417ab29ef 100644
--- a/app/controllers/projects/cycle_analytics_controller.rb
+++ b/app/controllers/projects/cycle_analytics_controller.rb
@@ -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"],