{"action":"closed","issue":{"url":"https://api.github.com/repos/VATSIM-UK/core/issues/271","repository_url":"https://api.github.com/repos/VATSIM-UK/core","labels_url":"https://api.github.com/repos/VATSIM-UK/core/issues/271/labels{/name}","comments_url":"https://api.github.com/repos/VATSIM-UK/core/issues/271/comments","events_url":"https://api.github.com/repos/VATSIM-UK/core/issues/271/events","html_url":"https://github.com/VATSIM-UK/core/issues/271","id":193270491,"number":271,"title":"Template sub-directory (Old 7)","user":{"login":"NFarrington","id":9153993,"avatar_url":"https://avatars.githubusercontent.com/u/9153993?v=3","gravatar_id":"","url":"https://api.github.com/users/NFarrington","html_url":"https://github.com/NFarrington","followers_url":"https://api.github.com/users/NFarrington/followers","following_url":"https://api.github.com/users/NFarrington/following{/other_user}","gists_url":"https://api.github.com/users/NFarrington/gists{/gist_id}","starred_url":"https://api.github.com/users/NFarrington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NFarrington/subscriptions","organizations_url":"https://api.github.com/users/NFarrington/orgs","repos_url":"https://api.github.com/users/NFarrington/repos","events_url":"https://api.github.com/users/NFarrington/events{/privacy}","received_events_url":"https://api.github.com/users/NFarrington/received_events","type":"User","site_admin":false},"labels":[{"id":493508390,"url":"https://api.github.com/repos/VATSIM-UK/core/labels/Code","name":"Code","color":"a295d6","default":false}],"state":"closed","locked":false,"assignee":{"login":"A-Lawrence","id":1240362,"avatar_url":"https://avatars.githubusercontent.com/u/1240362?v=3","gravatar_id":"","url":"https://api.github.com/users/A-Lawrence","html_url":"https://github.com/A-Lawrence","followers_url":"https://api.github.com/users/A-Lawrence/followers","following_url":"https://api.github.com/users/A-Lawrence/following{/other_user}","gists_url":"https://api.github.com/users/A-Lawrence/gists{/gist_id}","starred_url":"https://api.github.com/users/A-Lawrence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/A-Lawrence/subscriptions","organizations_url":"https://api.github.com/users/A-Lawrence/orgs","repos_url":"https://api.github.com/users/A-Lawrence/repos","events_url":"https://api.github.com/users/A-Lawrence/events{/privacy}","received_events_url":"https://api.github.com/users/A-Lawrence/received_events","type":"User","site_admin":false},"assignees":[{"login":"A-Lawrence","id":1240362,"avatar_url":"https://avatars.githubusercontent.com/u/1240362?v=3","gravatar_id":"","url":"https://api.github.com/users/A-Lawrence","html_url":"https://github.com/A-Lawrence","followers_url":"https://api.github.com/users/A-Lawrence/followers","following_url":"https://api.github.com/users/A-Lawrence/following{/other_user}","gists_url":"https://api.github.com/users/A-Lawrence/gists{/gist_id}","starred_url":"https://api.github.com/users/A-Lawrence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/A-Lawrence/subscriptions","organizations_url":"https://api.github.com/users/A-Lawrence/orgs","repos_url":"https://api.github.com/users/A-Lawrence/repos","events_url":"https://api.github.com/users/A-Lawrence/events{/privacy}","received_events_url":"https://api.github.com/users/A-Lawrence/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/VATSIM-UK/core/milestones/18","html_url":"https://github.com/VATSIM-UK/core/milestones/v1.1.0","labels_url":"https://api.github.com/repos/VATSIM-UK/core/milestones/18/labels","id":2172671,"number":18,"title":"v1.1.0","description":"Improvements to SSO & Membership handling:\r\n\r\n* Secondary Password for when CERT is offline.\r\n* Update AutoTools processing\r\n* General code improvements","creator":{"login":"NFarrington","id":9153993,"avatar_url":"https://avatars.githubusercontent.com/u/9153993?v=3","gravatar_id":"","url":"https://api.github.com/users/NFarrington","html_url":"https://github.com/NFarrington","followers_url":"https://api.github.com/users/NFarrington/followers","following_url":"https://api.github.com/users/NFarrington/following{/other_user}","gists_url":"https://api.github.com/users/NFarrington/gists{/gist_id}","starred_url":"https://api.github.com/users/NFarrington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NFarrington/subscriptions","organizations_url":"https://api.github.com/users/NFarrington/orgs","repos_url":"https://api.github.com/users/NFarrington/repos","events_url":"https://api.github.com/users/NFarrington/events{/privacy}","received_events_url":"https://api.github.com/users/NFarrington/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"closed","created_at":"2016-12-03T01:22:22Z","updated_at":"2016-12-03T06:39:51Z","due_on":"2013-09-28T00:00:00Z","closed_at":"2016-12-03T01:22:22Z"},"comments":2,"created_at":"2016-12-03T06:39:29Z","updated_at":"2016-12-03T06:39:51Z","closed_at":"2016-12-03T06:39:50Z","body":"In gitlab by @A-Lawrence on Aug 31, 2015, 01:10\n\nModify the master class to look in the necessary sub directory for the template.\r\n\r\n$this->setTemplate(\"Login\");\r\n\r\nRather than:\r\n\r\n$this->-setTemplate(\"(Auth/Login\");\r\n\r\n\r\nAs a further enhancement, if no template is set try to automatically detect one based on the action called:\r\n$this->setTemplate($_this->area.\"/\".$this->request->controller.\"/\".$this->request->action);"}}
{"actor":{"display_login":"NFarrington"}}