Get withdrawn events list
Signed-off-by: Carlos Coelho <carlos@pencillabs.com>
This commit is contained in:
parent
cb9cf0359b
commit
33247cb690
1 changed files with 3 additions and 0 deletions
|
|
@ -160,6 +160,9 @@ module Admin
|
||||||
# get campaigns
|
# get campaigns
|
||||||
@campaigns = @conference.get_campaigns
|
@campaigns = @conference.get_campaigns
|
||||||
|
|
||||||
|
# get withdrawn events
|
||||||
|
@withdrawn_events = @conference.program.events.where(state: :withdrawn)
|
||||||
|
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.html
|
format.html
|
||||||
format.json { render json: @conference.to_json }
|
format.json { render json: @conference.to_json }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue