We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1df84b commit 764a22aCopy full SHA for 764a22a
app/controllers/admin/analytics_controller.rb
@@ -1,5 +1,4 @@
1
module Admin
2
-
3
class AnalyticsController < Admin::BaseController
4
protect_from_forgery with: :null_session
5
app/views/admin/analytics/index.html.erb
@@ -89,6 +89,15 @@
89
color: :events
90
%>
91
92
+
93
+ <%= render "admin/analytics/popular_list",
94
+ title: "Workshop variations",
95
+ records: @most_viewed_workshop_variations,
96
+ path_method: :workshop_variation_path,
97
+ metric: :view_count,
98
+ color: :workshop_variations
99
+ %>
100
101
<%= render "admin/analytics/popular_list",
102
title: "Workshop variations",
103
records: @most_viewed_workshop_variations,
0 commit comments