Add survey with target after_event

This commit is contained in:
Stella Rouzi 2018-02-23 11:52:27 +02:00
parent e1adf28081
commit 9908f88570
10 changed files with 45 additions and 9 deletions

View file

@ -6,7 +6,7 @@ module Admin
load_and_authorize_resource
def index
@surveys = @conference.surveys
@surveys = @conference.surveys + Survey.where(surveyable: @conference.program.events)
end
def new