{"action":"created","issue":{"url":"https://api.github.com/repos/kohana/core/issues/500","labels_url":"https://api.github.com/repos/kohana/core/issues/500/labels{/name}","comments_url":"https://api.github.com/repos/kohana/core/issues/500/comments","events_url":"https://api.github.com/repos/kohana/core/issues/500/events","html_url":"https://github.com/kohana/core/issues/500","id":34230276,"number":500,"title":"Route filters","user":{"login":"happyDemon","id":38573,"avatar_url":"https://avatars.githubusercontent.com/u/38573?v=3","gravatar_id":"","url":"https://api.github.com/users/happyDemon","html_url":"https://github.com/happyDemon","followers_url":"https://api.github.com/users/happyDemon/followers","following_url":"https://api.github.com/users/happyDemon/following{/other_user}","gists_url":"https://api.github.com/users/happyDemon/gists{/gist_id}","starred_url":"https://api.github.com/users/happyDemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/happyDemon/subscriptions","organizations_url":"https://api.github.com/users/happyDemon/orgs","repos_url":"https://api.github.com/users/happyDemon/repos","events_url":"https://api.github.com/users/happyDemon/events{/privacy}","received_events_url":"https://api.github.com/users/happyDemon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/kohana/core/milestones/2","labels_url":"https://api.github.com/repos/kohana/core/milestones/2/labels","id":667070,"number":2,"title":"3.4.0","description":"","creator":{"login":"neo22s","id":241725,"avatar_url":"https://avatars.githubusercontent.com/u/241725?v=3","gravatar_id":"","url":"https://api.github.com/users/neo22s","html_url":"https://github.com/neo22s","followers_url":"https://api.github.com/users/neo22s/followers","following_url":"https://api.github.com/users/neo22s/following{/other_user}","gists_url":"https://api.github.com/users/neo22s/gists{/gist_id}","starred_url":"https://api.github.com/users/neo22s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo22s/subscriptions","organizations_url":"https://api.github.com/users/neo22s/orgs","repos_url":"https://api.github.com/users/neo22s/repos","events_url":"https://api.github.com/users/neo22s/events{/privacy}","received_events_url":"https://api.github.com/users/neo22s/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":2,"state":"open","created_at":"2014-05-22T15:49:54Z","updated_at":"2015-02-02T13:31:45Z","due_on":null,"closed_at":null},"comments":13,"created_at":"2014-05-24T10:11:13Z","updated_at":"2015-02-06T19:59:27Z","closed_at":null,"body":"This is a feature I found handy while using Laravel.\r\nInstead of having to inject the before method of controllers it could be nice to define route filters somewhere and assign them to the routes that need them (including a global route filter).\r\n\r\nThere's an added bonus for module developer that could bundle them, leaving them optional to use by other developer (instead of hardcoding them in a base controller).\r\n\r\nhttp://laravel.com/docs/routing#route-filters for details\r\n\r\n***edit\r\nThis would be for milestone 3.4 obvisously (forgot to add that to this ticket)"},"comment":{"url":"https://api.github.com/repos/kohana/core/issues/comments/73302444","html_url":"https://github.com/kohana/core/issues/500#issuecomment-73302444","issue_url":"https://api.github.com/repos/kohana/core/issues/500","id":73302444,"user":{"login":"moon0326","id":4723145,"avatar_url":"https://avatars.githubusercontent.com/u/4723145?v=3","gravatar_id":"","url":"https://api.github.com/users/moon0326","html_url":"https://github.com/moon0326","followers_url":"https://api.github.com/users/moon0326/followers","following_url":"https://api.github.com/users/moon0326/following{/other_user}","gists_url":"https://api.github.com/users/moon0326/gists{/gist_id}","starred_url":"https://api.github.com/users/moon0326/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moon0326/subscriptions","organizations_url":"https://api.github.com/users/moon0326/orgs","repos_url":"https://api.github.com/users/moon0326/repos","events_url":"https://api.github.com/users/moon0326/events{/privacy}","received_events_url":"https://api.github.com/users/moon0326/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T19:59:27Z","updated_at":"2015-02-06T19:59:27Z","body":"I used to use my own version of route module that supports filters. I used it only for just a month or so then stopped using it since I've moved on to a new framework.\r\n\r\nif you're interested in, checkout https://github.com/moon0326/Kohana-Route-Extended"}}