{"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 isRoute method to the Admin class","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":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-29T16:10:10Z","updated_at":"2016-04-29T22:25:03Z","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 results between create/edit/custom action, you can build different form for different pages."},"comment":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/comments/215897445","html_url":"https://github.com/sonata-project/SonataAdminBundle/pull/3748#issuecomment-215897445","issue_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3748","id":215897445,"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},"created_at":"2016-04-29T22:25:03Z","updated_at":"2016-04-29T22:25:03Z","body":"Is there some rules for add method to AdminInterface? I think this method in interface is better, what do you think? I wrote some methods depends on this one and I will send them in another PRs after this one merged."}}