{"action":"created","issue":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/12967","repository_url":"https://api.github.com/repos/emberjs/ember.js","labels_url":"https://api.github.com/repos/emberjs/ember.js/issues/12967/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/ember.js/issues/12967/comments","events_url":"https://api.github.com/repos/emberjs/ember.js/issues/12967/events","html_url":"https://github.com/emberjs/ember.js/issues/12967","id":133681357,"number":12967,"title":"Rendering the default template instead of the given `templateName` when using `renderTemplate`","user":{"login":"MatrixZ","id":3690556,"avatar_url":"https://avatars.githubusercontent.com/u/3690556?v=3","gravatar_id":"","url":"https://api.github.com/users/MatrixZ","html_url":"https://github.com/MatrixZ","followers_url":"https://api.github.com/users/MatrixZ/followers","following_url":"https://api.github.com/users/MatrixZ/following{/other_user}","gists_url":"https://api.github.com/users/MatrixZ/gists{/gist_id}","starred_url":"https://api.github.com/users/MatrixZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatrixZ/subscriptions","organizations_url":"https://api.github.com/users/MatrixZ/orgs","repos_url":"https://api.github.com/users/MatrixZ/repos","events_url":"https://api.github.com/users/MatrixZ/events{/privacy}","received_events_url":"https://api.github.com/users/MatrixZ/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/emberjs/ember.js/labels/Needs%20Bug%20Verification","name":"Needs Bug Verification","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-02-15T10:41:43Z","updated_at":"2016-07-30T03:09:58Z","closed_at":null,"body":"In order to render the template in the given outlet, `renderTemplate` hook is implemented and `templateName` is given to render the required template.\r\nBut default  [routeName](https://github.com/emberjs/ember.js/blob/master/packages/ember-routing/lib/system/route.js#L1956) template is rendered instead of the given `templateName`.\r\n\r\nhttps://ember-twiddle.com/e58f8466fad4994deb3e\r\n\r\nIn the twiddle, I have two routes `new-route` and `edit-route`. I want to reuse the same template for both routes. The `edit-route` renders the `edit-route/template` instead of `new-route/template`, though `templateName` is given."},"comment":{"url":"https://api.github.com/repos/emberjs/ember.js/issues/comments/236337011","html_url":"https://github.com/emberjs/ember.js/issues/12967#issuecomment-236337011","issue_url":"https://api.github.com/repos/emberjs/ember.js/issues/12967","id":236337011,"user":{"login":"andrewmp1","id":186297,"avatar_url":"https://avatars.githubusercontent.com/u/186297?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewmp1","html_url":"https://github.com/andrewmp1","followers_url":"https://api.github.com/users/andrewmp1/followers","following_url":"https://api.github.com/users/andrewmp1/following{/other_user}","gists_url":"https://api.github.com/users/andrewmp1/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewmp1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewmp1/subscriptions","organizations_url":"https://api.github.com/users/andrewmp1/orgs","repos_url":"https://api.github.com/users/andrewmp1/repos","events_url":"https://api.github.com/users/andrewmp1/events{/privacy}","received_events_url":"https://api.github.com/users/andrewmp1/received_events","type":"User","site_admin":false},"created_at":"2016-07-30T03:09:58Z","updated_at":"2016-07-30T03:09:58Z","body":"@dguettler Amazing I just decided to work on some bugs today and was looking at this and came to the same conclusion.  Created a PR for the fix w/ a failing test: https://github.com/emberjs/ember.js/pull/13969"}}
{"actor":{"display_login":"andrewmp1"}}