Closed dgoradia closed 9 years ago
You sure you are on the directory?, if yes probably you will have to configure sabisu to something like: https://github.com/IcaliaLabs/sabisu-rails#customization
Another question, are you using a multithread server like Puma or Unicorn?
Sorry for such a late response, I missed the notification.
I'm don't know what you mean by "You sure you are on the directory?".
My config:
SabisuRails.setup do |config|
# Base uri for posting the
config.base_api_uri = 'api.my-test-app.dev'
config.api_headers = { "Accept" => "application/vnd.my-test-app.v1" }
# Resources on the api
config.resources = [:users, :products]
config.default_resource = :users
end
No, I'm using rails server
.
Sorry, my mistake. I don't have an index method for users controller which is why I get the message.
Ok, no worries! =) Happy you got it to work!
But I do have routes.
config/routes.rb