I’m rewriting an old Rails application in Ember CLI. I’m using Rails to build the API that the Ember CLI app will access.
What I can’t figure out is how to build the API so that the urls are constructed correctly in my controllers (or routes? still new). I’m not sure if I’m supposed to build this API with a traditional REST architecture, or if I can just use method names like “get_products” or “update_product”.
I’m happy to RTFM if I can just find one. Your help is appreciated!