Add survey with target after_event
This commit is contained in:
parent
e1adf28081
commit
9908f88570
10 changed files with 45 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue