{"action":"opened","issue":{"url":"https://api.github.com/repos/balinterdi/rarwe-issues/issues/138","labels_url":"https://api.github.com/repos/balinterdi/rarwe-issues/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/balinterdi/rarwe-issues/issues/138/comments","events_url":"https://api.github.com/repos/balinterdi/rarwe-issues/issues/138/events","html_url":"https://github.com/balinterdi/rarwe-issues/issues/138","id":119502051,"number":138,"title":"Odd, asymmetric behaviour: Raised once, the create songs question is never again raised","user":{"login":"fknoll","id":8566293,"avatar_url":"https://avatars.githubusercontent.com/u/8566293?v=3","gravatar_id":"","url":"https://api.github.com/users/fknoll","html_url":"https://github.com/fknoll","followers_url":"https://api.github.com/users/fknoll/followers","following_url":"https://api.github.com/users/fknoll/following{/other_user}","gists_url":"https://api.github.com/users/fknoll/gists{/gist_id}","starred_url":"https://api.github.com/users/fknoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fknoll/subscriptions","organizations_url":"https://api.github.com/users/fknoll/orgs","repos_url":"https://api.github.com/users/fknoll/repos","events_url":"https://api.github.com/users/fknoll/events{/privacy}","received_events_url":"https://api.github.com/users/fknoll/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-30T14:24:44Z","updated_at":"2015-11-30T14:24:44Z","closed_at":null,"body":"The controller 'app/controllers/bands/band/songs.js' is a singleton. Therefor the hash/property 'canCreateSong' is shared between all songs from all instances of bands. This gives and odd and asymmetric behaviour of the RARWE application. When 'canCreateSong' is once set to 'true' by clicking in the question/link \"There are no songs yet. Why don't you create one?\", then the question is never again raised for other existing or newly created bands without songs.\r\n\r\nI therefore propose the hash/property 'canCreateSong' is reset to 'false', whenever a band is selected/clicked. I propose this to be accomplished in route \"app/routes/bands/band.js\" using:\r\nafterModel:\r\nfunction(band, transition) {\r\n    this.controllerFor(\"bands.band.songs\").set('songCreationStarted', false);\r\n}\r\n"}}