From 33247cb690519880fe8456843377169c8a561714 Mon Sep 17 00:00:00 2001 From: Carlos Coelho Date: Mon, 14 Mar 2016 14:09:15 -0300 Subject: [PATCH] Get withdrawn events list Signed-off-by: Carlos Coelho --- app/controllers/admin/conference_controller.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/controllers/admin/conference_controller.rb b/app/controllers/admin/conference_controller.rb index 1c1045e9..03079a76 100644 --- a/app/controllers/admin/conference_controller.rb +++ b/app/controllers/admin/conference_controller.rb @@ -160,6 +160,9 @@ module Admin # get campaigns @campaigns = @conference.get_campaigns + # get withdrawn events + @withdrawn_events = @conference.program.events.where(state: :withdrawn) + respond_to do |format| format.html format.json { render json: @conference.to_json }