mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Compute ticket statistics
And exclude admin/ConferencesController from rubocop_todo.yml
This commit is contained in:
parent
c2184c1c4f
commit
41503bb7a0
4 changed files with 122 additions and 0 deletions
|
|
@ -5,6 +5,8 @@ module Admin
|
|||
|
||||
def index
|
||||
authorize! :update, Ticket.new(conference_id: @conference.id)
|
||||
@tickets_sold_distribution = @conference.tickets_sold_distribution
|
||||
@tickets_turnover_distribution = @conference.tickets_turnover_distribution
|
||||
end
|
||||
|
||||
def new
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue