Open Vicente-jpro opened 2 years ago
@Vicente-jpro you're getting this error where/when exactly? When you start up your server? Can you paste the full stack trace?
@Vicente-jpro I obviously don't have the full picture of your app (db, models, etc), but here's a skeleton mimicking what you have above that works fine for me:
https://github.com/bploetz/versionist-issue94
And after you start the server:
curl http://localhost:3000/v1/contacts.json
[{"version":"V1"}]
curl http://localhost:3000/v2/contacts.json
[{"version":"V2"}]
I am trying to call my api but the method api_version. Do not work! Is there any additional code to past in may rails app?
controllerV2
ControlerV1
Routes
GemFile