Display some stats

This commit is contained in:
Eloy Gomez
2015-08-08 14:33:44 +02:00
parent 02f19aa4b1
commit fe2080aff9
8 changed files with 85 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
class StatsController < ApplicationController
def show
@event_types = Ahoy::Event.select(:name).uniq.pluck(:name)
end
end