Need to Version Your API?
Quit polluting your routes file with version namespaces or complicating your logic with separate controllers. Version Cake 1.2 is the unobtrusive way to version APIs in your Rails app. Works great with Jbuilder and RABL. Now with Rails 4 support.
app/views/posts/ - index.v1.json.jbuilder - index.v2.json.jbuilder
Post a comment