{"action":"created","issue":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3748","repository_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle","labels_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3748/labels{/name}","comments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3748/comments","events_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3748/events","html_url":"https://github.com/sonata-project/SonataAdminBundle/pull/3748","id":151907474,"number":3748,"title":"add AdminInterface::isCurrentRoute method","user":{"login":"Rivsen","id":762701,"avatar_url":"https://avatars.githubusercontent.com/u/762701?v=3","gravatar_id":"","url":"https://api.github.com/users/Rivsen","html_url":"https://github.com/Rivsen","followers_url":"https://api.github.com/users/Rivsen/followers","following_url":"https://api.github.com/users/Rivsen/following{/other_user}","gists_url":"https://api.github.com/users/Rivsen/gists{/gist_id}","starred_url":"https://api.github.com/users/Rivsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rivsen/subscriptions","organizations_url":"https://api.github.com/users/Rivsen/orgs","repos_url":"https://api.github.com/users/Rivsen/repos","events_url":"https://api.github.com/users/Rivsen/events{/privacy}","received_events_url":"https://api.github.com/users/Rivsen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/labels/minor","name":"minor","color":"009800"},{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/labels/pending%20author","name":"pending author","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-29T16:10:10Z","updated_at":"2016-05-03T13:21:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/3748","html_url":"https://github.com/sonata-project/SonataAdminBundle/pull/3748","diff_url":"https://github.com/sonata-project/SonataAdminBundle/pull/3748.diff","patch_url":"https://github.com/sonata-project/SonataAdminBundle/pull/3748.patch"},"body":"Check the current request's name, if matched with given admin's route, will return true. This is useful when share configureFormFields method's result between create/edit/custom action, you can build different rule form for different pages."},"comment":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/comments/216524965","html_url":"https://github.com/sonata-project/SonataAdminBundle/pull/3748#issuecomment-216524965","issue_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3748","id":216524965,"user":{"login":"OskarStark","id":995707,"avatar_url":"https://avatars.githubusercontent.com/u/995707?v=3","gravatar_id":"","url":"https://api.github.com/users/OskarStark","html_url":"https://github.com/OskarStark","followers_url":"https://api.github.com/users/OskarStark/followers","following_url":"https://api.github.com/users/OskarStark/following{/other_user}","gists_url":"https://api.github.com/users/OskarStark/gists{/gist_id}","starred_url":"https://api.github.com/users/OskarStark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OskarStark/subscriptions","organizations_url":"https://api.github.com/users/OskarStark/orgs","repos_url":"https://api.github.com/users/OskarStark/repos","events_url":"https://api.github.com/users/OskarStark/events{/privacy}","received_events_url":"https://api.github.com/users/OskarStark/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T13:21:18Z","updated_at":"2016-05-03T13:21:18Z","body":"LGTM if travis will be green, we can merge this!\r\n\r\nAfter this is merged @Rivsen please create another PR where you uncomment the interface method and add an UPGRADE notice in the UPGRADE.md file please. This PR will then be scheduled for the next major ;-)"}}