I used the exact configuration from the README and defined resources :users but I still get the message The following route definitions are missing from ApiTaster.routes. followed by a list of all the routes.
Here's the output of rake routes:
$ rake routes
Prefix Verb URI Pattern Controller#Action
users GET /users(.:format) users#index
POST /users(.:format) users#create
new_user GET /users/new(.:format) users#new
edit_user GET /users/:id/edit(.:format) users#edit
user GET /users/:id(.:format) users#show
PATCH /users/:id(.:format) users#update
PUT /users/:id(.:format) users#update
DELETE /users/:id(.:format) users#destroy
api_taster /api_taster ApiTaster::Engine
Routes for ApiTaster::Engine:
missing_definitions_routes GET /routes/missing_definitions(.:format) api_taster/routes#missing_definitions
obsolete_definitions_routes GET /routes/obsolete_definitions(.:format) api_taster/routes#obsolete_definitions
routes GET /routes(.:format) api_taster/routes#index
route GET /routes/:id(.:format) api_taster/routes#show
root GET /
See https://github.com/andyw8/api-taster-rails-4
I used the exact configuration from the README and defined
resources :users
but I still get the messageThe following route definitions are missing from ApiTaster.routes.
followed by a list of all the routes.Here's the output of
rake routes
: