{"action":"created","issue":{"url":"https://api.github.com/repos/lotus/router/issues/69","labels_url":"https://api.github.com/repos/lotus/router/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/lotus/router/issues/69/comments","events_url":"https://api.github.com/repos/lotus/router/issues/69/events","html_url":"https://github.com/lotus/router/issues/69","id":109336419,"number":69,"title":"Wrong generation of name for named routes.","user":{"login":"theocodes","id":5846601,"avatar_url":"https://avatars.githubusercontent.com/u/5846601?v=3","gravatar_id":"","url":"https://api.github.com/users/theocodes","html_url":"https://github.com/theocodes","followers_url":"https://api.github.com/users/theocodes/followers","following_url":"https://api.github.com/users/theocodes/following{/other_user}","gists_url":"https://api.github.com/users/theocodes/gists{/gist_id}","starred_url":"https://api.github.com/users/theocodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theocodes/subscriptions","organizations_url":"https://api.github.com/users/theocodes/orgs","repos_url":"https://api.github.com/users/theocodes/repos","events_url":"https://api.github.com/users/theocodes/events{/privacy}","received_events_url":"https://api.github.com/users/theocodes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lotus/router/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"jodosha","id":5089,"avatar_url":"https://avatars.githubusercontent.com/u/5089?v=3","gravatar_id":"","url":"https://api.github.com/users/jodosha","html_url":"https://github.com/jodosha","followers_url":"https://api.github.com/users/jodosha/followers","following_url":"https://api.github.com/users/jodosha/following{/other_user}","gists_url":"https://api.github.com/users/jodosha/gists{/gist_id}","starred_url":"https://api.github.com/users/jodosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodosha/subscriptions","organizations_url":"https://api.github.com/users/jodosha/orgs","repos_url":"https://api.github.com/users/jodosha/repos","events_url":"https://api.github.com/users/jodosha/events{/privacy}","received_events_url":"https://api.github.com/users/jodosha/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/lotus/router/milestones/8","html_url":"https://github.com/lotus/router/milestones/v0.6.0","labels_url":"https://api.github.com/repos/lotus/router/milestones/8/labels","id":1337772,"number":8,"title":"v0.6.0","description":"","creator":{"login":"jodosha","id":5089,"avatar_url":"https://avatars.githubusercontent.com/u/5089?v=3","gravatar_id":"","url":"https://api.github.com/users/jodosha","html_url":"https://github.com/jodosha","followers_url":"https://api.github.com/users/jodosha/followers","following_url":"https://api.github.com/users/jodosha/following{/other_user}","gists_url":"https://api.github.com/users/jodosha/gists{/gist_id}","starred_url":"https://api.github.com/users/jodosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodosha/subscriptions","organizations_url":"https://api.github.com/users/jodosha/orgs","repos_url":"https://api.github.com/users/jodosha/repos","events_url":"https://api.github.com/users/jodosha/events{/privacy}","received_events_url":"https://api.github.com/users/jodosha/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2015-10-05T09:33:38Z","updated_at":"2015-10-05T09:33:45Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-10-01T16:29:44Z","updated_at":"2015-10-05T09:34:17Z","closed_at":"2015-10-05T09:27:13Z","body":"Hey all :+1: \r\n\r\nJust picked up this one today..\r\n\r\nwhen doing something like this in the `routes.rb` file:\r\n\r\n```ruby\r\nresources :horses\r\n```\r\n\r\nwill result in this: \r\n\r\n```\r\nhors GET, HEAD  /horses                        Routertest::Controllers::Horses::Index\r\nnew_hors GET, HEAD  /horses/new                    Routertest::Controllers::Horses::New\r\nhors POST       /horses                        Routertest::Controllers::Horses::Create\r\nhors GET, HEAD  /horses/:id                    Routertest::Controllers::Horses::Show\r\nedit_hors GET, HEAD  /horses/:id/edit               Routertest::Controllers::Horses::Edit\r\nhors PATCH      /horses/:id                    Routertest::Controllers::Horses::Update\r\nhors DELETE     /horses/:id                    Routertest::Controllers::Horses::Destroy\r\n```\r\n\r\nThinking it was something related to it ending in 'es' (which i'm still not 100% convinced it isn't) i tried other words such as `:moustaches` and `:stones` and they worked fine. Intriguing huh? ;-)\r\n\r\nThis is on 0.5.0 and has been around for quite sometime as far as I can tell.. I know that `:horses` is not the most common name in the world for a resource and this may very well be a super-duper edge case.. But it shouldn't happen anyways ;-)\r\n\r\nI'll try to look into it in the next few days and report back or send PR this way.\r\n\r\nCheers\r\n"},"comment":{"url":"https://api.github.com/repos/lotus/router/issues/comments/145476378","html_url":"https://github.com/lotus/router/issues/69#issuecomment-145476378","issue_url":"https://api.github.com/repos/lotus/router/issues/69","id":145476378,"user":{"login":"jodosha","id":5089,"avatar_url":"https://avatars.githubusercontent.com/u/5089?v=3","gravatar_id":"","url":"https://api.github.com/users/jodosha","html_url":"https://github.com/jodosha","followers_url":"https://api.github.com/users/jodosha/followers","following_url":"https://api.github.com/users/jodosha/following{/other_user}","gists_url":"https://api.github.com/users/jodosha/gists{/gist_id}","starred_url":"https://api.github.com/users/jodosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodosha/subscriptions","organizations_url":"https://api.github.com/users/jodosha/orgs","repos_url":"https://api.github.com/users/jodosha/repos","events_url":"https://api.github.com/users/jodosha/events{/privacy}","received_events_url":"https://api.github.com/users/jodosha/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T09:34:17Z","updated_at":"2015-10-05T09:34:17Z","body":"Hey @theocodes this has been fixed. :wink: "}}