Add survey replies.
This commit is contained in:
parent
03168b4efe
commit
157a16d8f2
6 changed files with 29 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ module Admin
|
|||
private
|
||||
|
||||
def survey_params
|
||||
params.require(:survey).permit(:title, :description, :start_date, :end_date, :surveyable_type, :surveyable_id)
|
||||
params.require(:survey).permit(:title, :description, :target, :start_date, :end_date, :surveyable_type, :surveyable_id)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue