{"action":"closed","issue":{"url":"https://api.github.com/repos/rightscale/praxis/issues/151","labels_url":"https://api.github.com/repos/rightscale/praxis/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/rightscale/praxis/issues/151/comments","events_url":"https://api.github.com/repos/rightscale/praxis/issues/151/events","html_url":"https://github.com/rightscale/praxis/issues/151","id":63076353,"number":151,"title":"Unclear Error message and an action has no routing block when generating docs. Similar to ","user":{"login":"msausa","id":2119741,"avatar_url":"https://avatars.githubusercontent.com/u/2119741?v=3","gravatar_id":"","url":"https://api.github.com/users/msausa","html_url":"https://github.com/msausa","followers_url":"https://api.github.com/users/msausa/followers","following_url":"https://api.github.com/users/msausa/following{/other_user}","gists_url":"https://api.github.com/users/msausa/gists{/gist_id}","starred_url":"https://api.github.com/users/msausa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msausa/subscriptions","organizations_url":"https://api.github.com/users/msausa/orgs","repos_url":"https://api.github.com/users/msausa/repos","events_url":"https://api.github.com/users/msausa/events{/privacy}","received_events_url":"https://api.github.com/users/msausa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-19T19:46:36Z","updated_at":"2015-03-20T15:50:22Z","closed_at":"2015-03-20T15:50:22Z","body":"This is the error which is currently shown:\r\n\r\n```\r\nMichelles-Air:test michellesausa$ bundle exec rake praxis:docs:generate\r\nrake aborted!\r\nNoMethodError: undefined method `path' for nil:NilClass\r\n/Users/michellesausa/Dev/praxis/lib/praxis/action_definition.rb:176:in `params_description'\r\n/Users/michellesausa/Dev/praxis/lib/praxis/action_definition.rb:162:in `block in describe'\r\n/Users/michellesausa/Dev/praxis/lib/praxis/action_definition.rb:154:in `tap'\r\n/Users/michellesausa/Dev/praxis/lib/praxis/action_definition.rb:154:in `describe'\r\n/Users/michellesausa/Dev/praxis/lib/praxis/resource_definition.rb:135:in `map'\r\n/Users/michellesausa/Dev/praxis/lib/praxis/resource_definition.rb:135:in `block in describe'\r\n/Users/michellesausa/Dev/praxis/lib/praxis/resource_definition.rb:132:in `tap'\r\n/Users/michellesausa/Dev/praxis/lib/praxis/resource_definition.rb:132:in `describe'\r\n/Users/michellesausa/Dev/praxis/lib/praxis/restful_doc_generator.rb:178:in `block in write_resources'\r\n/Users/michellesausa/Dev/praxis/lib/praxis/restful_doc_generator.rb:172:in `each'\r\n/Users/michellesausa/Dev/praxis/lib/praxis/restful_doc_generator.rb:172:in `write_resources'\r\n/Users/michellesausa/Dev/praxis/lib/praxis/restful_doc_generator.rb:143:in `initialize'\r\n/Users/michellesausa/Dev/praxis/lib/praxis/tasks/api_docs.rb:45:in `new'\r\n/Users/michellesausa/Dev/praxis/lib/praxis/tasks/api_docs.rb:45:in `block (3 levels) in <top (required)>'\r\n```\r\n\r\nShould show \"No routes defined for Resource#action.\" Similar to #80. "}}