{"action":"closed","number":120,"pull_request":{"url":"https://api.github.com/repos/phly/PhlyRestfully/pulls/120","id":10532049,"html_url":"https://github.com/phly/PhlyRestfully/pull/120","diff_url":"https://github.com/phly/PhlyRestfully/pull/120.diff","patch_url":"https://github.com/phly/PhlyRestfully/pull/120.patch","issue_url":"https://api.github.com/repos/phly/PhlyRestfully/issues/120","number":120,"state":"closed","locked":false,"title":"Allow the default controller class to be specified.","user":{"login":"elyobo","id":407806,"avatar_url":"https://avatars.githubusercontent.com/u/407806?v=3","gravatar_id":"","url":"https://api.github.com/users/elyobo","html_url":"https://github.com/elyobo","followers_url":"https://api.github.com/users/elyobo/followers","following_url":"https://api.github.com/users/elyobo/following{/other_user}","gists_url":"https://api.github.com/users/elyobo/gists{/gist_id}","starred_url":"https://api.github.com/users/elyobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elyobo/subscriptions","organizations_url":"https://api.github.com/users/elyobo/orgs","repos_url":"https://api.github.com/users/elyobo/repos","events_url":"https://api.github.com/users/elyobo/events{/privacy}","received_events_url":"https://api.github.com/users/elyobo/received_events","type":"User","site_admin":false},"body":"Currently each resource can have a separate controller class specified, but there is no way to specify a default controller class to use where this is not specified; it's hard coded to PhlyRestfully\\ResourceController.\r\n\r\nThis patch allows a global default controller class to be specified and defaults to PhlyRestfully\\ResourceController if this is not specified.","created_at":"2013-12-04T21:47:44Z","updated_at":"2016-03-18T05:12:14Z","closed_at":"2016-03-18T05:12:14Z","merged_at":null,"merge_commit_sha":"91e2fc7fa87d42b9a2168a81806bd3339c702be8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/phly/PhlyRestfully/pulls/120/commits","review_comments_url":"https://api.github.com/repos/phly/PhlyRestfully/pulls/120/comments","review_comment_url":"https://api.github.com/repos/phly/PhlyRestfully/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phly/PhlyRestfully/issues/120/comments","statuses_url":"https://api.github.com/repos/phly/PhlyRestfully/statuses/8ee433bdf60f5bb74b19a3cdf9338d06ae25bdb0","head":{"label":"elyobo:global_default_controller_class","ref":"global_default_controller_class","sha":"8ee433bdf60f5bb74b19a3cdf9338d06ae25bdb0","user":{"login":"elyobo","id":407806,"avatar_url":"https://avatars.githubusercontent.com/u/407806?v=3","gravatar_id":"","url":"https://api.github.com/users/elyobo","html_url":"https://github.com/elyobo","followers_url":"https://api.github.com/users/elyobo/followers","following_url":"https://api.github.com/users/elyobo/following{/other_user}","gists_url":"https://api.github.com/users/elyobo/gists{/gist_id}","starred_url":"https://api.github.com/users/elyobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elyobo/subscriptions","organizations_url":"https://api.github.com/users/elyobo/orgs","repos_url":"https://api.github.com/users/elyobo/repos","events_url":"https://api.github.com/users/elyobo/events{/privacy}","received_events_url":"https://api.github.com/users/elyobo/received_events","type":"User","site_admin":false},"repo":{"id":11445478,"name":"PhlyRestfully","full_name":"elyobo/PhlyRestfully","owner":{"login":"elyobo","id":407806,"avatar_url":"https://avatars.githubusercontent.com/u/407806?v=3","gravatar_id":"","url":"https://api.github.com/users/elyobo","html_url":"https://github.com/elyobo","followers_url":"https://api.github.com/users/elyobo/followers","following_url":"https://api.github.com/users/elyobo/following{/other_user}","gists_url":"https://api.github.com/users/elyobo/gists{/gist_id}","starred_url":"https://api.github.com/users/elyobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elyobo/subscriptions","organizations_url":"https://api.github.com/users/elyobo/orgs","repos_url":"https://api.github.com/users/elyobo/repos","events_url":"https://api.github.com/users/elyobo/events{/privacy}","received_events_url":"https://api.github.com/users/elyobo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elyobo/PhlyRestfully","description":"ZF2 module for creating RESTful JSON APIs using HAL and API-Problem","fork":true,"url":"https://api.github.com/repos/elyobo/PhlyRestfully","forks_url":"https://api.github.com/repos/elyobo/PhlyRestfully/forks","keys_url":"https://api.github.com/repos/elyobo/PhlyRestfully/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elyobo/PhlyRestfully/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elyobo/PhlyRestfully/teams","hooks_url":"https://api.github.com/repos/elyobo/PhlyRestfully/hooks","issue_events_url":"https://api.github.com/repos/elyobo/PhlyRestfully/issues/events{/number}","events_url":"https://api.github.com/repos/elyobo/PhlyRestfully/events","assignees_url":"https://api.github.com/repos/elyobo/PhlyRestfully/assignees{/user}","branches_url":"https://api.github.com/repos/elyobo/PhlyRestfully/branches{/branch}","tags_url":"https://api.github.com/repos/elyobo/PhlyRestfully/tags","blobs_url":"https://api.github.com/repos/elyobo/PhlyRestfully/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elyobo/PhlyRestfully/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elyobo/PhlyRestfully/git/refs{/sha}","trees_url":"https://api.github.com/repos/elyobo/PhlyRestfully/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elyobo/PhlyRestfully/statuses/{sha}","languages_url":"https://api.github.com/repos/elyobo/PhlyRestfully/languages","stargazers_url":"https://api.github.com/repos/elyobo/PhlyRestfully/stargazers","contributors_url":"https://api.github.com/repos/elyobo/PhlyRestfully/contributors","subscribers_url":"https://api.github.com/repos/elyobo/PhlyRestfully/subscribers","subscription_url":"https://api.github.com/repos/elyobo/PhlyRestfully/subscription","commits_url":"https://api.github.com/repos/elyobo/PhlyRestfully/commits{/sha}","git_commits_url":"https://api.github.com/repos/elyobo/PhlyRestfully/git/commits{/sha}","comments_url":"https://api.github.com/repos/elyobo/PhlyRestfully/comments{/number}","issue_comment_url":"https://api.github.com/repos/elyobo/PhlyRestfully/issues/comments{/number}","contents_url":"https://api.github.com/repos/elyobo/PhlyRestfully/contents/{+path}","compare_url":"https://api.github.com/repos/elyobo/PhlyRestfully/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elyobo/PhlyRestfully/merges","archive_url":"https://api.github.com/repos/elyobo/PhlyRestfully/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elyobo/PhlyRestfully/downloads","issues_url":"https://api.github.com/repos/elyobo/PhlyRestfully/issues{/number}","pulls_url":"https://api.github.com/repos/elyobo/PhlyRestfully/pulls{/number}","milestones_url":"https://api.github.com/repos/elyobo/PhlyRestfully/milestones{/number}","notifications_url":"https://api.github.com/repos/elyobo/PhlyRestfully/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elyobo/PhlyRestfully/labels{/name}","releases_url":"https://api.github.com/repos/elyobo/PhlyRestfully/releases{/id}","deployments_url":"https://api.github.com/repos/elyobo/PhlyRestfully/deployments","created_at":"2013-07-16T09:18:51Z","updated_at":"2013-12-11T21:45:03Z","pushed_at":"2013-12-04T21:50:09Z","git_url":"git://github.com/elyobo/PhlyRestfully.git","ssh_url":"git@github.com:elyobo/PhlyRestfully.git","clone_url":"https://github.com/elyobo/PhlyRestfully.git","svn_url":"https://github.com/elyobo/PhlyRestfully","homepage":null,"size":1408,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"phly:master","ref":"master","sha":"21d264072efdfe01064de7b6b8f2920b7dfbab94","user":{"login":"phly","id":5248574,"avatar_url":"https://avatars.githubusercontent.com/u/5248574?v=3","gravatar_id":"","url":"https://api.github.com/users/phly","html_url":"https://github.com/phly","followers_url":"https://api.github.com/users/phly/followers","following_url":"https://api.github.com/users/phly/following{/other_user}","gists_url":"https://api.github.com/users/phly/gists{/gist_id}","starred_url":"https://api.github.com/users/phly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phly/subscriptions","organizations_url":"https://api.github.com/users/phly/orgs","repos_url":"https://api.github.com/users/phly/repos","events_url":"https://api.github.com/users/phly/events{/privacy}","received_events_url":"https://api.github.com/users/phly/received_events","type":"Organization","site_admin":false},"repo":{"id":7546002,"name":"PhlyRestfully","full_name":"phly/PhlyRestfully","owner":{"login":"phly","id":5248574,"avatar_url":"https://avatars.githubusercontent.com/u/5248574?v=3","gravatar_id":"","url":"https://api.github.com/users/phly","html_url":"https://github.com/phly","followers_url":"https://api.github.com/users/phly/followers","following_url":"https://api.github.com/users/phly/following{/other_user}","gists_url":"https://api.github.com/users/phly/gists{/gist_id}","starred_url":"https://api.github.com/users/phly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phly/subscriptions","organizations_url":"https://api.github.com/users/phly/orgs","repos_url":"https://api.github.com/users/phly/repos","events_url":"https://api.github.com/users/phly/events{/privacy}","received_events_url":"https://api.github.com/users/phly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phly/PhlyRestfully","description":"ZF2 module for creating RESTful JSON APIs using HAL and API-Problem","fork":false,"url":"https://api.github.com/repos/phly/PhlyRestfully","forks_url":"https://api.github.com/repos/phly/PhlyRestfully/forks","keys_url":"https://api.github.com/repos/phly/PhlyRestfully/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phly/PhlyRestfully/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phly/PhlyRestfully/teams","hooks_url":"https://api.github.com/repos/phly/PhlyRestfully/hooks","issue_events_url":"https://api.github.com/repos/phly/PhlyRestfully/issues/events{/number}","events_url":"https://api.github.com/repos/phly/PhlyRestfully/events","assignees_url":"https://api.github.com/repos/phly/PhlyRestfully/assignees{/user}","branches_url":"https://api.github.com/repos/phly/PhlyRestfully/branches{/branch}","tags_url":"https://api.github.com/repos/phly/PhlyRestfully/tags","blobs_url":"https://api.github.com/repos/phly/PhlyRestfully/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phly/PhlyRestfully/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phly/PhlyRestfully/git/refs{/sha}","trees_url":"https://api.github.com/repos/phly/PhlyRestfully/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phly/PhlyRestfully/statuses/{sha}","languages_url":"https://api.github.com/repos/phly/PhlyRestfully/languages","stargazers_url":"https://api.github.com/repos/phly/PhlyRestfully/stargazers","contributors_url":"https://api.github.com/repos/phly/PhlyRestfully/contributors","subscribers_url":"https://api.github.com/repos/phly/PhlyRestfully/subscribers","subscription_url":"https://api.github.com/repos/phly/PhlyRestfully/subscription","commits_url":"https://api.github.com/repos/phly/PhlyRestfully/commits{/sha}","git_commits_url":"https://api.github.com/repos/phly/PhlyRestfully/git/commits{/sha}","comments_url":"https://api.github.com/repos/phly/PhlyRestfully/comments{/number}","issue_comment_url":"https://api.github.com/repos/phly/PhlyRestfully/issues/comments{/number}","contents_url":"https://api.github.com/repos/phly/PhlyRestfully/contents/{+path}","compare_url":"https://api.github.com/repos/phly/PhlyRestfully/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phly/PhlyRestfully/merges","archive_url":"https://api.github.com/repos/phly/PhlyRestfully/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phly/PhlyRestfully/downloads","issues_url":"https://api.github.com/repos/phly/PhlyRestfully/issues{/number}","pulls_url":"https://api.github.com/repos/phly/PhlyRestfully/pulls{/number}","milestones_url":"https://api.github.com/repos/phly/PhlyRestfully/milestones{/number}","notifications_url":"https://api.github.com/repos/phly/PhlyRestfully/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phly/PhlyRestfully/labels{/name}","releases_url":"https://api.github.com/repos/phly/PhlyRestfully/releases{/id}","deployments_url":"https://api.github.com/repos/phly/PhlyRestfully/deployments","created_at":"2013-01-10T18:13:37Z","updated_at":"2015-12-23T01:37:10Z","pushed_at":"2015-09-25T11:06:51Z","git_url":"git://github.com/phly/PhlyRestfully.git","ssh_url":"git@github.com:phly/PhlyRestfully.git","clone_url":"https://github.com/phly/PhlyRestfully.git","svn_url":"https://github.com/phly/PhlyRestfully","homepage":null,"size":2416,"stargazers_count":122,"watchers_count":122,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":37,"forks":51,"open_issues":37,"watchers":122,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/phly/PhlyRestfully/pulls/120"},"html":{"href":"https://github.com/phly/PhlyRestfully/pull/120"},"issue":{"href":"https://api.github.com/repos/phly/PhlyRestfully/issues/120"},"comments":{"href":"https://api.github.com/repos/phly/PhlyRestfully/issues/120/comments"},"review_comments":{"href":"https://api.github.com/repos/phly/PhlyRestfully/pulls/120/comments"},"review_comment":{"href":"https://api.github.com/repos/phly/PhlyRestfully/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phly/PhlyRestfully/pulls/120/commits"},"statuses":{"href":"https://api.github.com/repos/phly/PhlyRestfully/statuses/8ee433bdf60f5bb74b19a3cdf9338d06ae25bdb0"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":5,"review_comments":0,"commits":1,"additions":31,"deletions":8,"changed_files":3}}