{"action":"created","issue":{"url":"https://api.github.com/repos/glhd/laravel-addressing/issues/5","repository_url":"https://api.github.com/repos/glhd/laravel-addressing","labels_url":"https://api.github.com/repos/glhd/laravel-addressing/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/glhd/laravel-addressing/issues/5/comments","events_url":"https://api.github.com/repos/glhd/laravel-addressing/issues/5/events","html_url":"https://github.com/glhd/laravel-addressing/pull/5","id":321562654,"number":5,"title":"Enable changing the route group prefix","user":{"login":"tormjens","id":3974889,"avatar_url":"https://avatars0.githubusercontent.com/u/3974889?v=4","gravatar_id":"","url":"https://api.github.com/users/tormjens","html_url":"https://github.com/tormjens","followers_url":"https://api.github.com/users/tormjens/followers","following_url":"https://api.github.com/users/tormjens/following{/other_user}","gists_url":"https://api.github.com/users/tormjens/gists{/gist_id}","starred_url":"https://api.github.com/users/tormjens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tormjens/subscriptions","organizations_url":"https://api.github.com/users/tormjens/orgs","repos_url":"https://api.github.com/users/tormjens/repos","events_url":"https://api.github.com/users/tormjens/events{/privacy}","received_events_url":"https://api.github.com/users/tormjens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-09T13:07:06Z","updated_at":"2018-05-22T06:47:25Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/glhd/laravel-addressing/pulls/5","html_url":"https://github.com/glhd/laravel-addressing/pull/5","diff_url":"https://github.com/glhd/laravel-addressing/pull/5.diff","patch_url":"https://github.com/glhd/laravel-addressing/pull/5.patch"},"body":"Thanks for a great package.\r\n\r\nWhile using this I was annoyed that the name of the route group was pre-defined as it did not match up with the route naming convention for the rest of my application.\r\n\r\nThis PR solves this by allowing the prefix to be changed via a config file.\r\n\r\nBy default the routes returning the JSON responses are prefixed with `galahad/addressing`. You can change this by creating a config file (`addressing.php`) in your `config` directory with these contents.\r\n\r\n```php \r\n<?php\r\n\r\nreturn [\r\n    'route' => [\r\n        'prefix' => 'countries' // change this to whatever you'd like\r\n    ],\r\n];\r\n```"},"comment":{"url":"https://api.github.com/repos/glhd/laravel-addressing/issues/comments/390881226","html_url":"https://github.com/glhd/laravel-addressing/pull/5#issuecomment-390881226","issue_url":"https://api.github.com/repos/glhd/laravel-addressing/issues/5","id":390881226,"user":{"login":"tormjens","id":3974889,"avatar_url":"https://avatars0.githubusercontent.com/u/3974889?v=4","gravatar_id":"","url":"https://api.github.com/users/tormjens","html_url":"https://github.com/tormjens","followers_url":"https://api.github.com/users/tormjens/followers","following_url":"https://api.github.com/users/tormjens/following{/other_user}","gists_url":"https://api.github.com/users/tormjens/gists{/gist_id}","starred_url":"https://api.github.com/users/tormjens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tormjens/subscriptions","organizations_url":"https://api.github.com/users/tormjens/orgs","repos_url":"https://api.github.com/users/tormjens/repos","events_url":"https://api.github.com/users/tormjens/events{/privacy}","received_events_url":"https://api.github.com/users/tormjens/received_events","type":"User","site_admin":false},"created_at":"2018-05-22T06:47:25Z","updated_at":"2018-05-22T06:47:25Z","author_association":"NONE","body":"Done! :)"}}
{"actor":{"display_login":"tormjens"}}