GitHub PullRequestReviewCommentEvent at 2014-04-15 14:28:51
Repository: community-platform
Actor: jbarrett
Payload: {"comment":{"url":"https://api.github.com/repos/duckduckgo/community-platform/pulls/comments/11636455","id":11636455,"diff_hunk":"@@ -13,9 +13,26 @@ sub base : Chained('/forum/base') PathPart('my') CaptureArgs(0) {\n }\n \n # /forum/my/newthread\n-sub newthread : Chained('base') Args(0) {\n-\tmy ( $self, $c ) = @_;\n+sub newthread : Chained('base') Args(1) {\n+\tmy ( $self, $c, $forum_id ) = @_;\n+\t$c->stash->{forum_index} = $forum_id // 1;","path":"lib/DDGC/Web/Controller/Forum/My.pm","position":8,"original_position":8,"commit_id":"29ba67f2ba0d1d09cdcd46d4f703bb3d5d18074a","original_commit_id":"29ba67f2ba0d1d09cdcd46d4f703bb3d5d18074a","user":{"login":"jbarrett","id":444449,"avatar_url":"https://avatars.githubusercontent.com/u/444449?","gravatar_id":"6a296a67e2590050b299c30751a01919","url":"https://api.github.com/users/jbarrett","html_url":"https://github.com/jbarrett","followers_url":"https://api.github.com/users/jbarrett/followers","following_url":"https://api.github.com/users/jbarrett/following{/other_user}","gists_url":"https://api.github.com/users/jbarrett/gists{/gist_id}","starred_url":"https://api.github.com/users/jbarrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbarrett/subscriptions","organizations_url":"https://api.github.com/users/jbarrett/orgs","repos_url":"https://api.github.com/users/jbarrett/repos","events_url":"https://api.github.com/users/jbarrett/events{/privacy}","received_events_url":"https://api.github.com/users/jbarrett/received_events","type":"User","site_admin":false},"body":"Defined-or, returns 1 in this case if !defined($forum_id)\r\n\r\nSome expansion of that here: http://perldoc.perl.org/perlop.html#Bitwise-Or-and-Exclusive-Or from 'C-style Logical And' - perldoc's header chops off the top when you link to the correct anchor :)","created_at":"2014-04-15T14:28:51Z","updated_at":"2014-04-15T14:28:51Z","html_url":"https://github.com/duckduckgo/community-platform/pull/102#discussion_r11636455","pull_request_url":"https://api.github.com/repos/duckduckgo/community-platform/pulls/102","_links":{"self":{"href":"https://api.github.com/repos/duckduckgo/community-platform/pulls/comments/11636455"},"html":{"href":"https://github.com/duckduckgo/community-platform/pull/102#discussion_r11636455"},"pull_request":{"href":"https://api.github.com/repos/duckduckgo/community-platform/pulls/102"}}}}