{"action":"closed","issue":{"url":"https://api.github.com/repos/menufortourist/web/issues/13","labels_url":"https://api.github.com/repos/menufortourist/web/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/menufortourist/web/issues/13/comments","events_url":"https://api.github.com/repos/menufortourist/web/issues/13/events","html_url":"https://github.com/menufortourist/web/issues/13","id":47588246,"number":13,"title":"Login e área de usuário","user":{"login":"gustavomazzoni","id":1520387,"avatar_url":"https://avatars.githubusercontent.com/u/1520387?v=3","gravatar_id":"","url":"https://api.github.com/users/gustavomazzoni","html_url":"https://github.com/gustavomazzoni","followers_url":"https://api.github.com/users/gustavomazzoni/followers","following_url":"https://api.github.com/users/gustavomazzoni/following{/other_user}","gists_url":"https://api.github.com/users/gustavomazzoni/gists{/gist_id}","starred_url":"https://api.github.com/users/gustavomazzoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gustavomazzoni/subscriptions","organizations_url":"https://api.github.com/users/gustavomazzoni/orgs","repos_url":"https://api.github.com/users/gustavomazzoni/repos","events_url":"https://api.github.com/users/gustavomazzoni/events{/privacy}","received_events_url":"https://api.github.com/users/gustavomazzoni/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/menufortourist/web/labels/must%20have","name":"must have","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"lucasnvxD","id":5192020,"avatar_url":"https://avatars.githubusercontent.com/u/5192020?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasnvxD","html_url":"https://github.com/lucasnvxD","followers_url":"https://api.github.com/users/lucasnvxD/followers","following_url":"https://api.github.com/users/lucasnvxD/following{/other_user}","gists_url":"https://api.github.com/users/lucasnvxD/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasnvxD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasnvxD/subscriptions","organizations_url":"https://api.github.com/users/lucasnvxD/orgs","repos_url":"https://api.github.com/users/lucasnvxD/repos","events_url":"https://api.github.com/users/lucasnvxD/events{/privacy}","received_events_url":"https://api.github.com/users/lucasnvxD/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2014-11-03T12:23:58Z","updated_at":"2015-03-03T17:18:16Z","closed_at":"2015-03-03T17:18:16Z","body":"Criar login e área de usuário, onde os usuários possam se cadastrar ou logar no sistema e, então, gerenciar seus dados e seus restaurantes, caso possuam.\r\n\r\nPara os usuários chegarem a sua tela \"Home\", deve seguir 2 possíveis fluxos:\r\n\r\n1 - Clica no botão login/registrar no topo da página no site\r\n   -- Este botão irá chamar a action 'show' do controller UsersController, que irá verificar se o usuário está logado (automaticamente utilizando o devise 'before_action :authenticate_user!'. Caso esteja logado prossegue para a página mostrando os dados do usuário logado.\r\n\r\n2 - Com o usuário logado, clica no nome do seu usuário no topo da página no site\r\n   -- Irá fazer a mesma chamada do fluxo 1."}}