Display some stats
This commit is contained in:
5
app/controllers/stats_controller.rb
Normal file
5
app/controllers/stats_controller.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class StatsController < ApplicationController
|
||||
def show
|
||||
@event_types = Ahoy::Event.select(:name).uniq.pluck(:name)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user