Updated whitelist pathways to how they are in controllers
CatergoryMenu added to submission form
Refactored code in SubmissionService and SubmissionForm to delete dummy and add categories parameter to addSubmission
CategoryMenu adds array of category ids when form is submitted
To test:
Login a User and navigate to Submit Location page
Fill out all sections of form, then submit
Check database to see if submission was received and check submission_categories table to see if the submission id matches up with he category ids you selected
Summary:
CategoryBadges
CatergoryMenu
added tosubmission
formSubmissionService
andSubmissionForm
to delete dummy and addcategories
parameter toaddSubmission
CategoryMenu
adds array of category ids when form is submittedTo test:
User
and navigate toSubmit Location
pagesubmission
was received and checksubmission_categories
table to see if thesubmission id
matches up with hecategory ids
you selected