Change to api_resources (which is convenience method to exclude :new and :edit iirc.

Also need route for /providers
    api_resources :providers, :only => [:index, :create, :show, :destroy, :update]