BuddyApp / frontend

Implementation of the front-end for Buddy, separated from the backend
0 stars 2 forks source link

Can't set new goals #14

Closed KatCormack closed 9 years ago

KatCormack commented 9 years ago

As a clinician, log into a service user's account and try to set them a new goal Write new goal Click "Add goal" Kicked back out to diary, goal not set

omarqureshi commented 9 years ago

angular.js:8445 GET http://buddyapp.local/api/v1/service_users/newGoalSubmit().json 404 (Not Found) angular.js:8445 XHR finished loading: GET "http://buddyapp.local/api/v1/service_users/newGoalSubmit().json". angular.js:8445 GET http://buddyapp.local/api/v1/sessions.json?user_id=newGoalSubmit() 404 (Not Found) angular.js:8445 GET http://buddyapp.local/api/v1/service_users/newGoalSubmit()/goals.json 404 (Not Found)

the id is VERY wrong.

omarqureshi commented 9 years ago

Functionally, this is working - still looks terrible though!