{"action":"created","issue":{"url":"https://api.github.com/repos/Nickiam7/wiki/issues/4","labels_url":"https://api.github.com/repos/Nickiam7/wiki/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Nickiam7/wiki/issues/4/comments","events_url":"https://api.github.com/repos/Nickiam7/wiki/issues/4/events","html_url":"https://github.com/Nickiam7/wiki/pull/4","id":112582932,"number":4,"title":"finish wiki CRUD","user":{"login":"Nickiam7","id":8331777,"avatar_url":"https://avatars.githubusercontent.com/u/8331777?v=3","gravatar_id":"","url":"https://api.github.com/users/Nickiam7","html_url":"https://github.com/Nickiam7","followers_url":"https://api.github.com/users/Nickiam7/followers","following_url":"https://api.github.com/users/Nickiam7/following{/other_user}","gists_url":"https://api.github.com/users/Nickiam7/gists{/gist_id}","starred_url":"https://api.github.com/users/Nickiam7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nickiam7/subscriptions","organizations_url":"https://api.github.com/users/Nickiam7/orgs","repos_url":"https://api.github.com/users/Nickiam7/repos","events_url":"https://api.github.com/users/Nickiam7/events{/privacy}","received_events_url":"https://api.github.com/users/Nickiam7/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-21T13:02:32Z","updated_at":"2015-10-22T10:09:42Z","closed_at":"2015-10-21T13:02:37Z","pull_request":{"url":"https://api.github.com/repos/Nickiam7/wiki/pulls/4","html_url":"https://github.com/Nickiam7/wiki/pull/4","diff_url":"https://github.com/Nickiam7/wiki/pull/4.diff","patch_url":"https://github.com/Nickiam7/wiki/pull/4.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/Nickiam7/wiki/issues/comments/150168714","html_url":"https://github.com/Nickiam7/wiki/pull/4#issuecomment-150168714","issue_url":"https://api.github.com/repos/Nickiam7/wiki/issues/4","id":150168714,"user":{"login":"eliotsykes","id":31698,"avatar_url":"https://avatars.githubusercontent.com/u/31698?v=3","gravatar_id":"","url":"https://api.github.com/users/eliotsykes","html_url":"https://github.com/eliotsykes","followers_url":"https://api.github.com/users/eliotsykes/followers","following_url":"https://api.github.com/users/eliotsykes/following{/other_user}","gists_url":"https://api.github.com/users/eliotsykes/gists{/gist_id}","starred_url":"https://api.github.com/users/eliotsykes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliotsykes/subscriptions","organizations_url":"https://api.github.com/users/eliotsykes/orgs","repos_url":"https://api.github.com/users/eliotsykes/repos","events_url":"https://api.github.com/users/eliotsykes/events{/privacy}","received_events_url":"https://api.github.com/users/eliotsykes/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T10:09:42Z","updated_at":"2015-10-22T10:09:42Z","body":"At the moment the wiki_posts controller actions can be accessed by non-logged-in users.\r\n\r\nConsider making controller actions require login by default by adding this filter to `application_controller.rb`:\r\n\r\n```ruby\r\n  before_action :authenticate_user!\r\n```\r\n\r\nThis will call Devise's `authenticate_user!` method and prevent a non-logged-in user from executing any action in all controllers that inherit from `ApplicationController`."}}