{"action":"created","issue":{"url":"https://api.github.com/repos/IcaliaLabs/sabisu-rails/issues/32","labels_url":"https://api.github.com/repos/IcaliaLabs/sabisu-rails/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/IcaliaLabs/sabisu-rails/issues/32/comments","events_url":"https://api.github.com/repos/IcaliaLabs/sabisu-rails/issues/32/events","html_url":"https://github.com/IcaliaLabs/sabisu-rails/issues/32","id":100224333,"number":32,"title":"Routing Error: No route matches [GET] \"/users\"","user":{"login":"dgoradia-atlas","id":9560862,"avatar_url":"https://avatars.githubusercontent.com/u/9560862?v=3","gravatar_id":"","url":"https://api.github.com/users/dgoradia-atlas","html_url":"https://github.com/dgoradia-atlas","followers_url":"https://api.github.com/users/dgoradia-atlas/followers","following_url":"https://api.github.com/users/dgoradia-atlas/following{/other_user}","gists_url":"https://api.github.com/users/dgoradia-atlas/gists{/gist_id}","starred_url":"https://api.github.com/users/dgoradia-atlas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgoradia-atlas/subscriptions","organizations_url":"https://api.github.com/users/dgoradia-atlas/orgs","repos_url":"https://api.github.com/users/dgoradia-atlas/repos","events_url":"https://api.github.com/users/dgoradia-atlas/events{/privacy}","received_events_url":"https://api.github.com/users/dgoradia-atlas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-11T04:42:55Z","updated_at":"2015-08-28T00:10:28Z","closed_at":"2015-08-28T00:10:28Z","body":"But I do have routes.\r\n```\r\nRouting Error\r\nNo route matches [GET] \"/users\"\r\n\r\nRails.root: /Users/dgoradia/ror-api-demo\r\n\r\nApplication Trace | Framework Trace | Full Trace\r\nRoutes\r\n\r\nRoutes match in priority from top to bottom\r\n\r\nYou don't have any routes defined!\r\n\r\nPlease add some routes in config/routes.rb.\r\nFor more information about routes, please see the Rails guide Rails Routing from the Outside In.\r\n```\r\n\r\nconfig/routes.rb\r\n```ruby\r\nrequire 'api_constraints'\r\n\r\nRails.application.routes.draw do\r\n  mount SabisuRails::Engine => \"/sabisu_rails\"\r\n  devise_for :users\r\n  # API namespace\r\n  namespace :api, defaults: { format: :json }, constraints: { subdomain: 'api' }, path: '/' do\r\n    scope module: :v1, constraints: ApiConstraints.new(version: 1, default: true) do\r\n\r\n      resources :users, :only => [:show, :create, :update, :destroy]\r\n\r\n    end\r\n  end\r\nend\r\n```"},"comment":{"url":"https://api.github.com/repos/IcaliaLabs/sabisu-rails/issues/comments/135589060","html_url":"https://github.com/IcaliaLabs/sabisu-rails/issues/32#issuecomment-135589060","issue_url":"https://api.github.com/repos/IcaliaLabs/sabisu-rails/issues/32","id":135589060,"user":{"login":"dgoradia-atlas","id":9560862,"avatar_url":"https://avatars.githubusercontent.com/u/9560862?v=3","gravatar_id":"","url":"https://api.github.com/users/dgoradia-atlas","html_url":"https://github.com/dgoradia-atlas","followers_url":"https://api.github.com/users/dgoradia-atlas/followers","following_url":"https://api.github.com/users/dgoradia-atlas/following{/other_user}","gists_url":"https://api.github.com/users/dgoradia-atlas/gists{/gist_id}","starred_url":"https://api.github.com/users/dgoradia-atlas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgoradia-atlas/subscriptions","organizations_url":"https://api.github.com/users/dgoradia-atlas/orgs","repos_url":"https://api.github.com/users/dgoradia-atlas/repos","events_url":"https://api.github.com/users/dgoradia-atlas/events{/privacy}","received_events_url":"https://api.github.com/users/dgoradia-atlas/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T00:10:28Z","updated_at":"2015-08-28T00:10:28Z","body":"Sorry, my mistake. I don't have an index method for users controller which is why I get the message. "}}