ShelbyTV / shelby_gt

Rails API services for Shelby GT
2 stars 0 forks source link

/v1/user corrected return codes #98

Closed spinosa closed 12 years ago

spinosa commented 12 years ago

If the route is hit w/o a user_id, it is expecting the user to be authenticated. If they are not, we should be returning a 401, not a 404. This will cause the web app to to sign the user out, resetting everything.