Open theworkerant opened 9 years ago
We want to be able to search our central symptoms table for users to add to their symptoms catalog.
Reference: https://github.com/FathomLabs/FlaredownAPI/issues/47
This was done on eVisit, use as reference https://github.com/larsenb/eVisit/blob/master/app/views/select2.coffee Not sure what this does, might be related: https://github.com/larsenb/eVisit/blob/master/app/views/selecttrap.coffee
SymptomsController#search
Use the select2.query to do this and setup sensible default options. Also setup error handling (Groovy Response Handler).
SymptomsController#create
current_user
Overview
We want to be able to search our central symptoms table for users to add to their symptoms catalog.
Reference: https://github.com/FathomLabs/FlaredownAPI/issues/47
This was done on eVisit, use as reference https://github.com/larsenb/eVisit/blob/master/app/views/select2.coffee Not sure what this does, might be related: https://github.com/larsenb/eVisit/blob/master/app/views/selecttrap.coffee
SymptomsController#search
Use the select2.query to do this and setup sensible default options. Also setup error handling (Groovy Response Handler).
SymptomsController#create
current_user