{"action":"closed","issue":{"url":"https://api.github.com/repos/ARCANEDEV/Localization/issues/127","repository_url":"https://api.github.com/repos/ARCANEDEV/Localization","labels_url":"https://api.github.com/repos/ARCANEDEV/Localization/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/ARCANEDEV/Localization/issues/127/comments","events_url":"https://api.github.com/repos/ARCANEDEV/Localization/issues/127/events","html_url":"https://github.com/ARCANEDEV/Localization/issues/127","id":346129090,"node_id":"MDU6SXNzdWUzNDYxMjkwOTA=","number":127,"title":"Bug with API Routes Prefix","user":{"login":"mrmonat","id":17597850,"node_id":"MDQ6VXNlcjE3NTk3ODUw","avatar_url":"https://avatars2.githubusercontent.com/u/17597850?v=4","gravatar_id":"","url":"https://api.github.com/users/mrmonat","html_url":"https://github.com/mrmonat","followers_url":"https://api.github.com/users/mrmonat/followers","following_url":"https://api.github.com/users/mrmonat/following{/other_user}","gists_url":"https://api.github.com/users/mrmonat/gists{/gist_id}","starred_url":"https://api.github.com/users/mrmonat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrmonat/subscriptions","organizations_url":"https://api.github.com/users/mrmonat/orgs","repos_url":"https://api.github.com/users/mrmonat/repos","events_url":"https://api.github.com/users/mrmonat/events{/privacy}","received_events_url":"https://api.github.com/users/mrmonat/received_events","type":"User","site_admin":false},"labels":[{"id":276056760,"node_id":"MDU6TGFiZWwyNzYwNTY3NjA=","url":"https://api.github.com/repos/ARCANEDEV/Localization/labels/need%20help","name":"need help","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":{"login":"arcanedev-maroc","id":3282340,"node_id":"MDQ6VXNlcjMyODIzNDA=","avatar_url":"https://avatars1.githubusercontent.com/u/3282340?v=4","gravatar_id":"","url":"https://api.github.com/users/arcanedev-maroc","html_url":"https://github.com/arcanedev-maroc","followers_url":"https://api.github.com/users/arcanedev-maroc/followers","following_url":"https://api.github.com/users/arcanedev-maroc/following{/other_user}","gists_url":"https://api.github.com/users/arcanedev-maroc/gists{/gist_id}","starred_url":"https://api.github.com/users/arcanedev-maroc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcanedev-maroc/subscriptions","organizations_url":"https://api.github.com/users/arcanedev-maroc/orgs","repos_url":"https://api.github.com/users/arcanedev-maroc/repos","events_url":"https://api.github.com/users/arcanedev-maroc/events{/privacy}","received_events_url":"https://api.github.com/users/arcanedev-maroc/received_events","type":"User","site_admin":false},"assignees":[{"login":"arcanedev-maroc","id":3282340,"node_id":"MDQ6VXNlcjMyODIzNDA=","avatar_url":"https://avatars1.githubusercontent.com/u/3282340?v=4","gravatar_id":"","url":"https://api.github.com/users/arcanedev-maroc","html_url":"https://github.com/arcanedev-maroc","followers_url":"https://api.github.com/users/arcanedev-maroc/followers","following_url":"https://api.github.com/users/arcanedev-maroc/following{/other_user}","gists_url":"https://api.github.com/users/arcanedev-maroc/gists{/gist_id}","starred_url":"https://api.github.com/users/arcanedev-maroc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcanedev-maroc/subscriptions","organizations_url":"https://api.github.com/users/arcanedev-maroc/orgs","repos_url":"https://api.github.com/users/arcanedev-maroc/repos","events_url":"https://api.github.com/users/arcanedev-maroc/events{/privacy}","received_events_url":"https://api.github.com/users/arcanedev-maroc/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-07-31T10:32:43Z","updated_at":"2018-08-02T20:54:23Z","closed_at":"2018-08-02T20:54:23Z","author_association":"NONE","body":"- Localization Version: 3.0.0\r\n- Laravel Version: 5.6.28\r\n- PHP Version: 7.1.16\r\n\r\n### Description:\r\n\r\nI want to use this package inside of my routes/api.php file:\r\n**routes/api.php**\r\n`Route::localizedGroup(function () {\r\n    Route::get('/test', function () {\r\n        return 'test';\r\n    });\r\n});`\r\n\r\n**Results**\r\nTrying to access http://my-domain.com/en/api/test fails with 404 aswell as http://my-domain.com/api/en/test\r\n\r\n**Notes**\r\nIf I remove the 'api' prefix inside the RouteServiceProviders mapApiRoutes() Method the url\r\nhttp://my-domain.com/en/test works...\r\n\r\nSo I think that there is a general problem with route prefixes...\r\n\r\n"}}
{"actor":{"display_login":"mrmonat"}}