{"action":"created","issue":{"url":"https://api.github.com/repos/freekmurze/laravel-glide/issues/19","labels_url":"https://api.github.com/repos/freekmurze/laravel-glide/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/freekmurze/laravel-glide/issues/19/comments","events_url":"https://api.github.com/repos/freekmurze/laravel-glide/issues/19/events","html_url":"https://github.com/freekmurze/laravel-glide/issues/19","id":67402505,"number":19,"title":"Route caching with Laravel 5","user":{"login":"sdebacker","id":134503,"avatar_url":"https://avatars.githubusercontent.com/u/134503?v=3","gravatar_id":"","url":"https://api.github.com/users/sdebacker","html_url":"https://github.com/sdebacker","followers_url":"https://api.github.com/users/sdebacker/followers","following_url":"https://api.github.com/users/sdebacker/following{/other_user}","gists_url":"https://api.github.com/users/sdebacker/gists{/gist_id}","starred_url":"https://api.github.com/users/sdebacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdebacker/subscriptions","organizations_url":"https://api.github.com/users/sdebacker/orgs","repos_url":"https://api.github.com/users/sdebacker/repos","events_url":"https://api.github.com/users/sdebacker/events{/privacy}","received_events_url":"https://api.github.com/users/sdebacker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/freekmurze/laravel-glide/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-09T16:44:06Z","updated_at":"2015-04-09T18:35:25Z","closed_at":null,"body":"Does this package work with Laravel 5 route caching ?\r\nI see that there is a closure on router->get…\r\n```php\r\n$this->app['router']->get($glideConfig['baseURL'].'/{all}', function () use ($glideConfig) {\r\n…\r\n})\r\n```"},"comment":{"url":"https://api.github.com/repos/freekmurze/laravel-glide/issues/comments/91321776","html_url":"https://github.com/freekmurze/laravel-glide/issues/19#issuecomment-91321776","issue_url":"https://api.github.com/repos/freekmurze/laravel-glide/issues/19","id":91321776,"user":{"login":"freekmurze","id":483853,"avatar_url":"https://avatars.githubusercontent.com/u/483853?v=3","gravatar_id":"","url":"https://api.github.com/users/freekmurze","html_url":"https://github.com/freekmurze","followers_url":"https://api.github.com/users/freekmurze/followers","following_url":"https://api.github.com/users/freekmurze/following{/other_user}","gists_url":"https://api.github.com/users/freekmurze/gists{/gist_id}","starred_url":"https://api.github.com/users/freekmurze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freekmurze/subscriptions","organizations_url":"https://api.github.com/users/freekmurze/orgs","repos_url":"https://api.github.com/users/freekmurze/repos","events_url":"https://api.github.com/users/freekmurze/events{/privacy}","received_events_url":"https://api.github.com/users/freekmurze/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T18:35:25Z","updated_at":"2015-04-09T18:35:25Z","body":"From the [documentation](http://laravel.com/docs/5.0/controllers#route-caching): \"If your application is exclusively using controller routes, you may take advantage of Laravel's route cache\".\r\n\r\nWish I knew that a few months ago :-)\r\n\r\nI'll replace the closure by a controller in the future. If you need this change soon, feel free to submit a pull request.\r\n"}}