{"action":"created","issue":{"url":"https://api.github.com/repos/jayS-de/HandlebarsBundle/issues/10","repository_url":"https://api.github.com/repos/jayS-de/HandlebarsBundle","labels_url":"https://api.github.com/repos/jayS-de/HandlebarsBundle/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/jayS-de/HandlebarsBundle/issues/10/comments","events_url":"https://api.github.com/repos/jayS-de/HandlebarsBundle/issues/10/events","html_url":"https://github.com/jayS-de/HandlebarsBundle/pull/10","id":176409194,"number":10,"title":"Register bundle view paths with bundle as namespace","user":{"login":"stevejordan","id":1404930,"avatar_url":"https://avatars.githubusercontent.com/u/1404930?v=3","gravatar_id":"","url":"https://api.github.com/users/stevejordan","html_url":"https://github.com/stevejordan","followers_url":"https://api.github.com/users/stevejordan/followers","following_url":"https://api.github.com/users/stevejordan/following{/other_user}","gists_url":"https://api.github.com/users/stevejordan/gists{/gist_id}","starred_url":"https://api.github.com/users/stevejordan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevejordan/subscriptions","organizations_url":"https://api.github.com/users/stevejordan/orgs","repos_url":"https://api.github.com/users/stevejordan/repos","events_url":"https://api.github.com/users/stevejordan/events{/privacy}","received_events_url":"https://api.github.com/users/stevejordan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-12T15:40:16Z","updated_at":"2016-09-19T07:29:39Z","closed_at":"2016-09-19T07:19:41Z","pull_request":{"url":"https://api.github.com/repos/jayS-de/HandlebarsBundle/pulls/10","html_url":"https://github.com/jayS-de/HandlebarsBundle/pull/10","diff_url":"https://github.com/jayS-de/HandlebarsBundle/pull/10.diff","patch_url":"https://github.com/jayS-de/HandlebarsBundle/pull/10.patch"},"body":"The change allows the following syntax to work\r\n```handlebars\r\n{{> @Acme/partials/show-something }}\r\n```\r\n\r\nGiven a bundle directory structure like this\r\n```\r\nAcmeBundle/\r\n    Resources/\r\n        views/\r\n            partials/\r\n                show-something.hbs\r\n```\r\n\r\nThis is how the `TwigBundle` handles it, see https://github.com/symfony/twig-bundle/blob/master/DependencyInjection/TwigExtension.php#L83\r\n\r\nI've left the non-namespaced path registration in order to avoid backwards incompatibility, it may be desirable to remove this to avoid cross bundle naming clashes."},"comment":{"url":"https://api.github.com/repos/jayS-de/HandlebarsBundle/issues/comments/247926754","html_url":"https://github.com/jayS-de/HandlebarsBundle/pull/10#issuecomment-247926754","issue_url":"https://api.github.com/repos/jayS-de/HandlebarsBundle/issues/10","id":247926754,"user":{"login":"jayS-de","id":10562872,"avatar_url":"https://avatars.githubusercontent.com/u/10562872?v=3","gravatar_id":"","url":"https://api.github.com/users/jayS-de","html_url":"https://github.com/jayS-de","followers_url":"https://api.github.com/users/jayS-de/followers","following_url":"https://api.github.com/users/jayS-de/following{/other_user}","gists_url":"https://api.github.com/users/jayS-de/gists{/gist_id}","starred_url":"https://api.github.com/users/jayS-de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayS-de/subscriptions","organizations_url":"https://api.github.com/users/jayS-de/orgs","repos_url":"https://api.github.com/users/jayS-de/repos","events_url":"https://api.github.com/users/jayS-de/events{/privacy}","received_events_url":"https://api.github.com/users/jayS-de/received_events","type":"User","site_admin":false},"created_at":"2016-09-19T07:29:39Z","updated_at":"2016-09-19T07:29:39Z","body":"Thx for the PR. Just added some additional tests and removed the unneeded addPath calls."}}
{"actor":{"display_login":"jayS-de"}}