app/cyclid/plugins/api/github/helpers.rb in cyclid-0.2.4 vs app/cyclid/plugins/api/github/helpers.rb in cyclid-0.2.5

- old
+ new

@@ -27,15 +27,15 @@ module Helpers def pull_request @pr ||= @payload['pull_request'] end - def pr_clone_url - pull_request['base']['repo']['html_url'] - end - def pr_head @pr_head ||= pull_request['head'] + end + + def pr_clone_url + pr_head['repo']['html_url'] end def pr_sha pr_head['sha'] end