GitHub PullRequestReviewCommentEvent at 2014-01-20 20:32:18
Repository: km
Actor: tiste
Payload: {"comment":{"url":"https://api.github.com/repos/rubymen/km/pulls/comments/9017565","id":9017565,"diff_hunk":"@@ -2,7 +2,8 @@ class DocumentsController < ApplicationController\n   before_action :set_document, only: [:show, :edit, :update, :destroy]\n \n   def index\n-    @documents = Document.all\n+    @search     = Document.search params\n+    @documents  = @search.results.paginate(page: params[:page], per_page: 20 )","path":"app/controllers/documents_controller.rb","position":6,"original_position":6,"commit_id":"d70c06f3bb247468b93f74605994850b793bb78f","original_commit_id":"d70c06f3bb247468b93f74605994850b793bb78f","user":{"login":"tiste","id":3153249,"avatar_url":"https://gravatar.com/avatar/8781ca2a4ea5a9bc0db653f9ba19ebeb?d=https%3A%2F%2Fidenticons.github.com%2F82e3845d1fb63f08f3321da3418972b9.png&r=x","gravatar_id":"8781ca2a4ea5a9bc0db653f9ba19ebeb","url":"https://api.github.com/users/tiste","html_url":"https://github.com/tiste","followers_url":"https://api.github.com/users/tiste/followers","following_url":"https://api.github.com/users/tiste/following{/other_user}","gists_url":"https://api.github.com/users/tiste/gists{/gist_id}","starred_url":"https://api.github.com/users/tiste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiste/subscriptions","organizations_url":"https://api.github.com/users/tiste/orgs","repos_url":"https://api.github.com/users/tiste/repos","events_url":"https://api.github.com/users/tiste/events{/privacy}","received_events_url":"https://api.github.com/users/tiste/received_events","type":"User","site_admin":false},"body":"No space before the last bracket.","created_at":"2014-01-20T20:32:18Z","updated_at":"2014-01-20T20:32:18Z","html_url":"https://github.com/rubymen/km/pull/36#discussion_r9017565","pull_request_url":"https://api.github.com/repos/rubymen/km/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/rubymen/km/pulls/comments/9017565"},"html":{"href":"https://github.com/rubymen/km/pull/36#discussion_r9017565"},"pull_request":{"href":"https://api.github.com/repos/rubymen/km/pulls/36"}}}}