{"action":"created","issue":{"url":"https://api.github.com/repos/rubys/awdwr/issues/7","labels_url":"https://api.github.com/repos/rubys/awdwr/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/rubys/awdwr/issues/7/comments","events_url":"https://api.github.com/repos/rubys/awdwr/issues/7/events","html_url":"https://github.com/rubys/awdwr/pull/7","id":129250720,"number":7,"title":"- If its Rails 5 routes.rb just add the root file directly","user":{"login":"vipulnsward","id":567626,"avatar_url":"https://avatars.githubusercontent.com/u/567626?v=3","gravatar_id":"","url":"https://api.github.com/users/vipulnsward","html_url":"https://github.com/vipulnsward","followers_url":"https://api.github.com/users/vipulnsward/followers","following_url":"https://api.github.com/users/vipulnsward/following{/other_user}","gists_url":"https://api.github.com/users/vipulnsward/gists{/gist_id}","starred_url":"https://api.github.com/users/vipulnsward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vipulnsward/subscriptions","organizations_url":"https://api.github.com/users/vipulnsward/orgs","repos_url":"https://api.github.com/users/vipulnsward/repos","events_url":"https://api.github.com/users/vipulnsward/events{/privacy}","received_events_url":"https://api.github.com/users/vipulnsward/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-27T19:53:50Z","updated_at":"2016-01-27T20:25:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rubys/awdwr/pulls/7","html_url":"https://github.com/rubys/awdwr/pull/7","diff_url":"https://github.com/rubys/awdwr/pull/7.diff","patch_url":"https://github.com/rubys/awdwr/pull/7.patch"},"body":"- Commented contents from routes.rb were removed here https://github.com/vipulnsward/rails/commit/12e5cb5db30f27bab1c44ebff1b3446336305603"},"comment":{"url":"https://api.github.com/repos/rubys/awdwr/issues/comments/175838135","html_url":"https://github.com/rubys/awdwr/pull/7#issuecomment-175838135","issue_url":"https://api.github.com/repos/rubys/awdwr/issues/7","id":175838135,"user":{"login":"rubys","id":4815,"avatar_url":"https://avatars.githubusercontent.com/u/4815?v=3","gravatar_id":"","url":"https://api.github.com/users/rubys","html_url":"https://github.com/rubys","followers_url":"https://api.github.com/users/rubys/followers","following_url":"https://api.github.com/users/rubys/following{/other_user}","gists_url":"https://api.github.com/users/rubys/gists{/gist_id}","starred_url":"https://api.github.com/users/rubys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubys/subscriptions","organizations_url":"https://api.github.com/users/rubys/orgs","repos_url":"https://api.github.com/users/rubys/repos","events_url":"https://api.github.com/users/rubys/events{/privacy}","received_events_url":"https://api.github.com/users/rubys/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T20:25:29Z","updated_at":"2016-01-27T20:25:29Z","body":"The file that is produced looks like this:\r\n\r\n    Rails.application.routes.draw do\r\n      get 'store/index'\r\n\r\n      resources :products\r\n      # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html\r\n\r\n      # Serve websocket cable requests in-process\r\n      # mount ActionCable.server => '/cable'\r\n    end\r\n\r\n    #START_HIGHLIGHT\r\n        root 'store#index', as: 'store'\r\n    #END_HIGHLIGHT\r\n\r\nThis causes a problem, as 'root' is in the wrong place.\r\n\r\nBook pages (both PDF and paper) also have width limits,  so the comment will need to be split, thus:\r\n\r\n      # For details on the DSL available within this file, see\r\n      # http://guides.rubyonrails.org/routing.html\r\n"}}