Merge pull request #9 from differentreality/admin_events
Add stats about submissions
This commit is contained in:
commit
83b10447f4
2 changed files with 95 additions and 0 deletions
|
|
@ -11,6 +11,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