api-presentation
api-presentation copied to clipboard
Routing Error uninitialized constant API
http://localhost:3000/api/v1/contacts/ Rake routes: Prefix Verb URI Pattern Controller#Action api_v1_contacts GET /api/v1/contacts(.:format) api/v1/contacts#index {:format=>:json} POST /api/v1/contacts(.:format) api/v1/contacts#create {:format=>:json} api_v1 GET /api/v1/contacts/:id(.:format) api/v1/contacts#show {:format=>:json} PUT /api/v1/contacts/:id(.:format) api/v1/contacts#update {:format=>:json} DELETE /api/v1/contacts/:id(.:format) api/v1/contacts#destroy {:format=>:json}
This should now be fixed. This problem only happens with case sensitive filesystems (I wasn't seeing any errors with a standard Mac).
@aomra015 I am using Ubuntu14.04 64bit. Did you say you just updated the content?
Yeah the last commit I made changed the case of the api folder. Unfortunately I can't verify the fix without deploying this code to a linux server. Is it working for you?