{"action":"created","issue":{"url":"https://api.github.com/repos/adonisjs/adonis-framework/issues/142","repository_url":"https://api.github.com/repos/adonisjs/adonis-framework","labels_url":"https://api.github.com/repos/adonisjs/adonis-framework/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/adonisjs/adonis-framework/issues/142/comments","events_url":"https://api.github.com/repos/adonisjs/adonis-framework/issues/142/events","html_url":"https://github.com/adonisjs/adonis-framework/issues/142","id":148519061,"number":142,"title":"[TypeError: Route.resource(...).middlewares is not a function]","user":{"login":"dielduarte","id":5679671,"avatar_url":"https://avatars.githubusercontent.com/u/5679671?v=3","gravatar_id":"","url":"https://api.github.com/users/dielduarte","html_url":"https://github.com/dielduarte","followers_url":"https://api.github.com/users/dielduarte/followers","following_url":"https://api.github.com/users/dielduarte/following{/other_user}","gists_url":"https://api.github.com/users/dielduarte/gists{/gist_id}","starred_url":"https://api.github.com/users/dielduarte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dielduarte/subscriptions","organizations_url":"https://api.github.com/users/dielduarte/orgs","repos_url":"https://api.github.com/users/dielduarte/repos","events_url":"https://api.github.com/users/dielduarte/events{/privacy}","received_events_url":"https://api.github.com/users/dielduarte/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/adonisjs/adonis-framework/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"thetutlage","id":1706381,"avatar_url":"https://avatars.githubusercontent.com/u/1706381?v=3","gravatar_id":"","url":"https://api.github.com/users/thetutlage","html_url":"https://github.com/thetutlage","followers_url":"https://api.github.com/users/thetutlage/followers","following_url":"https://api.github.com/users/thetutlage/following{/other_user}","gists_url":"https://api.github.com/users/thetutlage/gists{/gist_id}","starred_url":"https://api.github.com/users/thetutlage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thetutlage/subscriptions","organizations_url":"https://api.github.com/users/thetutlage/orgs","repos_url":"https://api.github.com/users/thetutlage/repos","events_url":"https://api.github.com/users/thetutlage/events{/privacy}","received_events_url":"https://api.github.com/users/thetutlage/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-04-15T00:22:39Z","updated_at":"2016-04-15T14:00:46Z","closed_at":null,"body":"How to use middlewares using route.resource ?? "},"comment":{"url":"https://api.github.com/repos/adonisjs/adonis-framework/issues/comments/210474225","html_url":"https://github.com/adonisjs/adonis-framework/issues/142#issuecomment-210474225","issue_url":"https://api.github.com/repos/adonisjs/adonis-framework/issues/142","id":210474225,"user":{"login":"dielduarte","id":5679671,"avatar_url":"https://avatars.githubusercontent.com/u/5679671?v=3","gravatar_id":"","url":"https://api.github.com/users/dielduarte","html_url":"https://github.com/dielduarte","followers_url":"https://api.github.com/users/dielduarte/followers","following_url":"https://api.github.com/users/dielduarte/following{/other_user}","gists_url":"https://api.github.com/users/dielduarte/gists{/gist_id}","starred_url":"https://api.github.com/users/dielduarte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dielduarte/subscriptions","organizations_url":"https://api.github.com/users/dielduarte/orgs","repos_url":"https://api.github.com/users/dielduarte/repos","events_url":"https://api.github.com/users/dielduarte/events{/privacy}","received_events_url":"https://api.github.com/users/dielduarte/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T14:00:46Z","updated_at":"2016-04-15T14:00:46Z","body":"that works, thanks! "}}