{"action":"created","issue":{"url":"https://api.github.com/repos/labstack/echo/issues/583","repository_url":"https://api.github.com/repos/labstack/echo","labels_url":"https://api.github.com/repos/labstack/echo/issues/583/labels{/name}","comments_url":"https://api.github.com/repos/labstack/echo/issues/583/comments","events_url":"https://api.github.com/repos/labstack/echo/issues/583/events","html_url":"https://github.com/labstack/echo/issues/583","id":162340739,"number":583,"title":"grouped routes - How to","user":{"login":"skota","id":1299082,"avatar_url":"https://avatars.githubusercontent.com/u/1299082?v=3","gravatar_id":"","url":"https://api.github.com/users/skota","html_url":"https://github.com/skota","followers_url":"https://api.github.com/users/skota/followers","following_url":"https://api.github.com/users/skota/following{/other_user}","gists_url":"https://api.github.com/users/skota/gists{/gist_id}","starred_url":"https://api.github.com/users/skota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skota/subscriptions","organizations_url":"https://api.github.com/users/skota/orgs","repos_url":"https://api.github.com/users/skota/repos","events_url":"https://api.github.com/users/skota/events{/privacy}","received_events_url":"https://api.github.com/users/skota/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/labstack/echo/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"vishr","id":314036,"avatar_url":"https://avatars.githubusercontent.com/u/314036?v=3","gravatar_id":"","url":"https://api.github.com/users/vishr","html_url":"https://github.com/vishr","followers_url":"https://api.github.com/users/vishr/followers","following_url":"https://api.github.com/users/vishr/following{/other_user}","gists_url":"https://api.github.com/users/vishr/gists{/gist_id}","starred_url":"https://api.github.com/users/vishr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishr/subscriptions","organizations_url":"https://api.github.com/users/vishr/orgs","repos_url":"https://api.github.com/users/vishr/repos","events_url":"https://api.github.com/users/vishr/events{/privacy}","received_events_url":"https://api.github.com/users/vishr/received_events","type":"User","site_admin":false},"assignees":[{"login":"vishr","id":314036,"avatar_url":"https://avatars.githubusercontent.com/u/314036?v=3","gravatar_id":"","url":"https://api.github.com/users/vishr","html_url":"https://github.com/vishr","followers_url":"https://api.github.com/users/vishr/followers","following_url":"https://api.github.com/users/vishr/following{/other_user}","gists_url":"https://api.github.com/users/vishr/gists{/gist_id}","starred_url":"https://api.github.com/users/vishr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishr/subscriptions","organizations_url":"https://api.github.com/users/vishr/orgs","repos_url":"https://api.github.com/users/vishr/repos","events_url":"https://api.github.com/users/vishr/events{/privacy}","received_events_url":"https://api.github.com/users/vishr/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-06-26T18:33:49Z","updated_at":"2016-06-26T21:08:35Z","closed_at":"2016-06-26T21:08:35Z","body":"This is just a how to question\r\nIf i wanted a grouped and protected route like /admin/dashboard. what do i do? I tried to do as below based on https://echo.labstack.com/recipes/jwt \r\n\r\n```go\r\nfunc admin(c echo.Context) error {\r\n\treturn c.String(http.StatusOK, \"Admin Accessible\")\r\n}\r\nr := e.Group(\"/admin\")\r\nr.Use(middleware.JWT([]byte(\"secret\")))\r\nr.GET(\"admin/dashboard\", admin)\r\n```\r\n\r\nroute admin/dashboard cannot be found. What am i doing wrong?\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/labstack/echo/issues/comments/228623010","html_url":"https://github.com/labstack/echo/issues/583#issuecomment-228623010","issue_url":"https://api.github.com/repos/labstack/echo/issues/583","id":228623010,"user":{"login":"skota","id":1299082,"avatar_url":"https://avatars.githubusercontent.com/u/1299082?v=3","gravatar_id":"","url":"https://api.github.com/users/skota","html_url":"https://github.com/skota","followers_url":"https://api.github.com/users/skota/followers","following_url":"https://api.github.com/users/skota/following{/other_user}","gists_url":"https://api.github.com/users/skota/gists{/gist_id}","starred_url":"https://api.github.com/users/skota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skota/subscriptions","organizations_url":"https://api.github.com/users/skota/orgs","repos_url":"https://api.github.com/users/skota/repos","events_url":"https://api.github.com/users/skota/events{/privacy}","received_events_url":"https://api.github.com/users/skota/received_events","type":"User","site_admin":false},"created_at":"2016-06-26T21:08:35Z","updated_at":"2016-06-26T21:08:35Z","body":"Thanks!! it worked. I just had to do a new build for the new changes."}}
{"actor":{"display_login":"skota"}}