{"action":"closed","issue":{"url":"https://api.github.com/repos/doorkeeper-gem/doorkeeper/issues/605","labels_url":"https://api.github.com/repos/doorkeeper-gem/doorkeeper/issues/605/labels{/name}","comments_url":"https://api.github.com/repos/doorkeeper-gem/doorkeeper/issues/605/comments","events_url":"https://api.github.com/repos/doorkeeper-gem/doorkeeper/issues/605/events","html_url":"https://github.com/doorkeeper-gem/doorkeeper/issues/605","id":62851106,"number":605,"title":"Customising views is not very clearly described","user":{"login":"peterept","id":1710070,"avatar_url":"https://avatars.githubusercontent.com/u/1710070?v=3","gravatar_id":"","url":"https://api.github.com/users/peterept","html_url":"https://github.com/peterept","followers_url":"https://api.github.com/users/peterept/followers","following_url":"https://api.github.com/users/peterept/following{/other_user}","gists_url":"https://api.github.com/users/peterept/gists{/gist_id}","starred_url":"https://api.github.com/users/peterept/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterept/subscriptions","organizations_url":"https://api.github.com/users/peterept/orgs","repos_url":"https://api.github.com/users/peterept/repos","events_url":"https://api.github.com/users/peterept/events{/privacy}","received_events_url":"https://api.github.com/users/peterept/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-19T02:25:58Z","updated_at":"2015-03-19T04:11:44Z","closed_at":"2015-03-19T04:11:44Z","body":"This page:\r\nhttps://github.com/doorkeeper-gem/doorkeeper/wiki/Customizing-views\r\n\r\n>rails generate doorkeeper:views\r\n>\r\n>This will copy all the views to app/views/doorkeeper\r\n\r\nIs not clear what to do and if you need the layouts.\r\n\r\nI played around with it and now I understand it (it is brilliant). If you have one of those views it will override the gem one. So you can safely delete any that you want to keep coming from the gem. And layouts are optional, and only needed if you want.\r\n\r\nCan the page say:\r\n\r\n\"When a view is requested doorkeeper will first look in your app/views/doorkeeper folder, and if not found will fall back to the one included in the gem.\"\r\n\r\n\r\n"}}