{"action":"created","issue":{"url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1987","repository_url":"https://api.github.com/repos/phoenixframework/phoenix","labels_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1987/labels{/name}","comments_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1987/comments","events_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1987/events","html_url":"https://github.com/phoenixframework/phoenix/pull/1987","id":186128895,"number":1987,"title":"add phoenix endpoint to the generated ConnCase module","user":{"login":"saveav","id":166730,"avatar_url":"https://avatars.githubusercontent.com/u/166730?v=3","gravatar_id":"","url":"https://api.github.com/users/saveav","html_url":"https://github.com/saveav","followers_url":"https://api.github.com/users/saveav/followers","following_url":"https://api.github.com/users/saveav/following{/other_user}","gists_url":"https://api.github.com/users/saveav/gists{/gist_id}","starred_url":"https://api.github.com/users/saveav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saveav/subscriptions","organizations_url":"https://api.github.com/users/saveav/orgs","repos_url":"https://api.github.com/users/saveav/repos","events_url":"https://api.github.com/users/saveav/events{/privacy}","received_events_url":"https://api.github.com/users/saveav/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-10-30T10:38:38Z","updated_at":"2016-11-03T19:04:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/phoenixframework/phoenix/pulls/1987","html_url":"https://github.com/phoenixframework/phoenix/pull/1987","diff_url":"https://github.com/phoenixframework/phoenix/pull/1987.diff","patch_url":"https://github.com/phoenixframework/phoenix/pull/1987.patch"},"body":"`conn` may be used in a template, such as when making a reference to a static file using `static_path`:\n\n```\n    <link rel=\"stylesheet\" href=\"<%= static_path(@conn, \"/css/bundle.css\") %>\">\n```\n\nI think it would not be exaggerating to define the `phoenix_endpoint` in a generated `ConnCase` so the user do not need to configure this very essential capabilities. Correct me if I am wrong.\n"},"comment":{"url":"https://api.github.com/repos/phoenixframework/phoenix/issues/comments/258242896","html_url":"https://github.com/phoenixframework/phoenix/pull/1987#issuecomment-258242896","issue_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1987","id":258242896,"user":{"login":"chrismccord","id":576796,"avatar_url":"https://avatars.githubusercontent.com/u/576796?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismccord","html_url":"https://github.com/chrismccord","followers_url":"https://api.github.com/users/chrismccord/followers","following_url":"https://api.github.com/users/chrismccord/following{/other_user}","gists_url":"https://api.github.com/users/chrismccord/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismccord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismccord/subscriptions","organizations_url":"https://api.github.com/users/chrismccord/orgs","repos_url":"https://api.github.com/users/chrismccord/repos","events_url":"https://api.github.com/users/chrismccord/events{/privacy}","received_events_url":"https://api.github.com/users/chrismccord/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T19:04:38Z","updated_at":"2016-11-03T19:04:38Z","body":"@josevalim I agree wrt to session, but not to flash. Phoenix's own generators include get_flash in the templates, so we need to address the flash being fetched, which requires the session. What are the alts?"}}
{"actor":{"display_login":"chrismccord"}}