mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Add stats about submissions
This commit is contained in:
parent
dc0560b848
commit
030272b28e
2 changed files with 95 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ class Admin::EventsController < ApplicationController
|
|||
def index
|
||||
@events = @conference.events
|
||||
@tracks = @conference.tracks
|
||||
@event_states = @events.state_machine.states.map
|
||||
respond_to do |format|
|
||||
format.html
|
||||
format.json { render :json => Event.where(:state => :confirmed) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue