{"action":"opened","issue":{"url":"https://api.github.com/repos/naver/yobi/issues/846","labels_url":"https://api.github.com/repos/naver/yobi/issues/846/labels{/name}","comments_url":"https://api.github.com/repos/naver/yobi/issues/846/comments","events_url":"https://api.github.com/repos/naver/yobi/issues/846/events","html_url":"https://github.com/naver/yobi/issues/846","id":54738717,"number":846,"title":"admin 계정의 사이트 설정 버튼이 나타나지 않음.","user":{"login":"KOR-Believer","id":8975134,"avatar_url":"https://avatars.githubusercontent.com/u/8975134?v=3","gravatar_id":"","url":"https://api.github.com/users/KOR-Believer","html_url":"https://github.com/KOR-Believer","followers_url":"https://api.github.com/users/KOR-Believer/followers","following_url":"https://api.github.com/users/KOR-Believer/following{/other_user}","gists_url":"https://api.github.com/users/KOR-Believer/gists{/gist_id}","starred_url":"https://api.github.com/users/KOR-Believer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KOR-Believer/subscriptions","organizations_url":"https://api.github.com/users/KOR-Believer/orgs","repos_url":"https://api.github.com/users/KOR-Believer/repos","events_url":"https://api.github.com/users/KOR-Believer/events{/privacy}","received_events_url":"https://api.github.com/users/KOR-Believer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-19T08:47:58Z","updated_at":"2015-01-19T08:47:58Z","closed_at":null,"body":"1. Play 2.1 + Yobi(Master) 의 경우 admin 로그인 시 정상적으로 사이트 설정 버튼이 나타나는데\r\n2. Play 2.3 + Yobi(Next)에서 admin 로그인 시 사이트 설정 버튼이 나타나지 않습니다.\r\n\r\n__usermenu.scala.html__\r\n```\r\n@if(session.get(\"userId\").equals(\"1\")) {\r\n    <li class=\"gnb-usermenu-item\">\r\n        <a href=\"@routes.SiteApp.userList()\" data-toggle=\"tooltip\" title=\"@Messages(\"menu.siteAdmin\")\" data-placement=\"bottom\" class=\"usermenu-icon-button\">\r\n            <i class=\"yobicon-wrench\"></i>\r\n        </a>\r\n   </li>\r\n}\r\n```\r\n이 부분에서 `@if(session.get(\"userId\").equals(\"1\")) ` 문제가 있는 것 같습니다.\r\nBefore(1.)\r\n![before](https://raw.githubusercontent.com/KOR-Believer/git-study/master/image/bef.PNG)\r\n\r\nAfter(2.)\r\n![after](https://raw.githubusercontent.com/KOR-Believer/git-study/master/image/aft.PNG)"}}