scoped routes to 'api'
rake routes to make sure they look like this:
    questions GET    /api/questions(.:format)          questions#index
              POST   /api/questions(.:format)          questions#create
 new_question GET    /api/questions/new(.:format)      questions#new
edit_question GET    /api/questions/:id/edit(.:format) questions#edit
     question GET    /api/questions/:id(.:format)      questions#show
              PUT    /api/questions/:id(.:format)      questions#update
              DELETE /api/questions/:id(.:format)      questions#destroy
         root        /                                 pages#index