{"action":"created","issue":{"url":"https://api.github.com/repos/Latrell/Swagger/issues/5","labels_url":"https://api.github.com/repos/Latrell/Swagger/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/Latrell/Swagger/issues/5/comments","events_url":"https://api.github.com/repos/Latrell/Swagger/issues/5/events","html_url":"https://github.com/Latrell/Swagger/issues/5","id":98213815,"number":5,"title":"NotFoundHttpException in RouteCollection.php line 143","user":{"login":"murrion","id":637937,"avatar_url":"https://avatars.githubusercontent.com/u/637937?v=3","gravatar_id":"","url":"https://api.github.com/users/murrion","html_url":"https://github.com/murrion","followers_url":"https://api.github.com/users/murrion/followers","following_url":"https://api.github.com/users/murrion/following{/other_user}","gists_url":"https://api.github.com/users/murrion/gists{/gist_id}","starred_url":"https://api.github.com/users/murrion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murrion/subscriptions","organizations_url":"https://api.github.com/users/murrion/orgs","repos_url":"https://api.github.com/users/murrion/repos","events_url":"https://api.github.com/users/murrion/events{/privacy}","received_events_url":"https://api.github.com/users/murrion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-30T16:44:30Z","updated_at":"2015-07-31T08:13:54Z","closed_at":null,"body":"Hi,\r\n\r\nI have added \"latrell/swagger\": \"^1.0\" to my Composer file and I have Swagger and Swagger UI up and running well locally in my browser on a Windows based machine.\r\n\r\nHowever when I deploy to Staging or Production, on a Linux based machine, when I try to access /api-docs I only get : NotFoundHttpException in RouteCollection.php line 143\r\n\r\nThe 'php artisan:list' command shows the /api-docs and /api-docs/docs/{page?} routes are in place on the Local Windows machine only.\r\n\r\nHowever running 'php artisan:list' on the staging server doesn't show /api-docs and /api-docs/docs/{page?} routes.\r\n\r\nComposer.json and composer.lock files are the same on blog local and Staging. On both I have dumped the autoload as well as deleted the Vendor folder and re-started by running composer install several times.\r\n\r\nIt always works well locally on a Windows PC but not on an Ubuntu 14.04 LTS 64 bit version. Both have the same code, same folder permissions etc.\r\n\r\ncan anyone help with this?"},"comment":{"url":"https://api.github.com/repos/Latrell/Swagger/issues/comments/126604408","html_url":"https://github.com/Latrell/Swagger/issues/5#issuecomment-126604408","issue_url":"https://api.github.com/repos/Latrell/Swagger/issues/5","id":126604408,"user":{"login":"Latrell","id":6267962,"avatar_url":"https://avatars.githubusercontent.com/u/6267962?v=3","gravatar_id":"","url":"https://api.github.com/users/Latrell","html_url":"https://github.com/Latrell","followers_url":"https://api.github.com/users/Latrell/followers","following_url":"https://api.github.com/users/Latrell/following{/other_user}","gists_url":"https://api.github.com/users/Latrell/gists{/gist_id}","starred_url":"https://api.github.com/users/Latrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Latrell/subscriptions","organizations_url":"https://api.github.com/users/Latrell/orgs","repos_url":"https://api.github.com/users/Latrell/repos","events_url":"https://api.github.com/users/Latrell/events{/privacy}","received_events_url":"https://api.github.com/users/Latrell/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T08:13:54Z","updated_at":"2015-07-31T08:13:54Z","body":"Check if there is `onfig/latrell-swagger.php` file. try change `'enable' => config('app.debug'),` to `'enable' => true,`.\r\nIf the file does not exist, do the run `php artisan vendor:publish`."}}