You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should have routes that handle views be distinct from routes that handle the API. I was listening for a "application/json" Accept header of the request, rather than an HTML or /, but having one route that handles all things is just stupid so let's do a simple change that will greatly simplify things because smartness.
Change all current view-serving routes to not serve json at all
Add an api REST route set(get post put delete) (in a diff file, name it api_modelNamePluralized.js) for each model
The text was updated successfully, but these errors were encountered:
are you saying that if I do this I could work on the iOS app or to give this to you if I prefer to work on iOS? (I thought the consensus was that working on iOS doesn't make sense right now?)
We should have routes that handle views be distinct from routes that handle the API. I was listening for a "application/json" Accept header of the request, rather than an HTML or /, but having one route that handles all things is just stupid so let's do a simple change that will greatly simplify things because smartness.
The text was updated successfully, but these errors were encountered: