{"action":"created","comment":{"url":"https://api.github.com/repos/pustovalov/app/pulls/comments/45965507","id":45965507,"diff_hunk":"@@ -8,15 +8,15 @@ def oauth\n   def callback\n       provider = params[:provider]\n       if @user = login_from(provider)\n-        redirect_to root_path, notice: \"Logged in from #{provider.titleize}!\"\n+        redirect_to root_path, notice: \"#{t(\"notifications.login_success\")} #{provider.titleize}!\"\n       else\n         begin\n           @user = create_from(provider)\n           reset_session\n           auto_login(@user)\n-          redirect_to root_path, notice: \"Logged in from #{provider.titleize}!\"\n+          redirect_to root_path, notice: \"#{t(\"notifications.login_success\")} #{provider.titleize}!\"","path":"app/controllers/oauths_controller.rb","position":12,"original_position":12,"commit_id":"1ab21a0cb66b5abdb63bdf2921bbbfb3ee60f6a2","original_commit_id":"1ab21a0cb66b5abdb63bdf2921bbbfb3ee60f6a2","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Prefer single-quoted strings inside interpolations.","created_at":"2015-11-26T10:49:09Z","updated_at":"2015-11-26T10:49:09Z","html_url":"https://github.com/pustovalov/app/pull/18#discussion_r45965507","pull_request_url":"https://api.github.com/repos/pustovalov/app/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/pustovalov/app/pulls/comments/45965507"},"html":{"href":"https://github.com/pustovalov/app/pull/18#discussion_r45965507"},"pull_request":{"href":"https://api.github.com/repos/pustovalov/app/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/pustovalov/app/pulls/18","id":51897473,"html_url":"https://github.com/pustovalov/app/pull/18","diff_url":"https://github.com/pustovalov/app/pull/18.diff","patch_url":"https://github.com/pustovalov/app/pull/18.patch","issue_url":"https://api.github.com/repos/pustovalov/app/issues/18","number":18,"state":"open","locked":false,"title":"Internationalization","user":{"login":"pustovalov","id":1568885,"avatar_url":"https://avatars.githubusercontent.com/u/1568885?v=3","gravatar_id":"","url":"https://api.github.com/users/pustovalov","html_url":"https://github.com/pustovalov","followers_url":"https://api.github.com/users/pustovalov/followers","following_url":"https://api.github.com/users/pustovalov/following{/other_user}","gists_url":"https://api.github.com/users/pustovalov/gists{/gist_id}","starred_url":"https://api.github.com/users/pustovalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pustovalov/subscriptions","organizations_url":"https://api.github.com/users/pustovalov/orgs","repos_url":"https://api.github.com/users/pustovalov/repos","events_url":"https://api.github.com/users/pustovalov/events{/privacy}","received_events_url":"https://api.github.com/users/pustovalov/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-26T10:48:59Z","updated_at":"2015-11-26T10:49:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37ace0f1c920d4b57dc8cd24e4214216f708e5cf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pustovalov/app/pulls/18/commits","review_comments_url":"https://api.github.com/repos/pustovalov/app/pulls/18/comments","review_comment_url":"https://api.github.com/repos/pustovalov/app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pustovalov/app/issues/18/comments","statuses_url":"https://api.github.com/repos/pustovalov/app/statuses/1ab21a0cb66b5abdb63bdf2921bbbfb3ee60f6a2","head":{"label":"pustovalov:emails","ref":"emails","sha":"1ab21a0cb66b5abdb63bdf2921bbbfb3ee60f6a2","user":{"login":"pustovalov","id":1568885,"avatar_url":"https://avatars.githubusercontent.com/u/1568885?v=3","gravatar_id":"","url":"https://api.github.com/users/pustovalov","html_url":"https://github.com/pustovalov","followers_url":"https://api.github.com/users/pustovalov/followers","following_url":"https://api.github.com/users/pustovalov/following{/other_user}","gists_url":"https://api.github.com/users/pustovalov/gists{/gist_id}","starred_url":"https://api.github.com/users/pustovalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pustovalov/subscriptions","organizations_url":"https://api.github.com/users/pustovalov/orgs","repos_url":"https://api.github.com/users/pustovalov/repos","events_url":"https://api.github.com/users/pustovalov/events{/privacy}","received_events_url":"https://api.github.com/users/pustovalov/received_events","type":"User","site_admin":false},"repo":{"id":43791908,"name":"app","full_name":"pustovalov/app","owner":{"login":"pustovalov","id":1568885,"avatar_url":"https://avatars.githubusercontent.com/u/1568885?v=3","gravatar_id":"","url":"https://api.github.com/users/pustovalov","html_url":"https://github.com/pustovalov","followers_url":"https://api.github.com/users/pustovalov/followers","following_url":"https://api.github.com/users/pustovalov/following{/other_user}","gists_url":"https://api.github.com/users/pustovalov/gists{/gist_id}","starred_url":"https://api.github.com/users/pustovalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pustovalov/subscriptions","organizations_url":"https://api.github.com/users/pustovalov/orgs","repos_url":"https://api.github.com/users/pustovalov/repos","events_url":"https://api.github.com/users/pustovalov/events{/privacy}","received_events_url":"https://api.github.com/users/pustovalov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pustovalov/app","description":"Flash cards","fork":false,"url":"https://api.github.com/repos/pustovalov/app","forks_url":"https://api.github.com/repos/pustovalov/app/forks","keys_url":"https://api.github.com/repos/pustovalov/app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pustovalov/app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pustovalov/app/teams","hooks_url":"https://api.github.com/repos/pustovalov/app/hooks","issue_events_url":"https://api.github.com/repos/pustovalov/app/issues/events{/number}","events_url":"https://api.github.com/repos/pustovalov/app/events","assignees_url":"https://api.github.com/repos/pustovalov/app/assignees{/user}","branches_url":"https://api.github.com/repos/pustovalov/app/branches{/branch}","tags_url":"https://api.github.com/repos/pustovalov/app/tags","blobs_url":"https://api.github.com/repos/pustovalov/app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pustovalov/app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pustovalov/app/git/refs{/sha}","trees_url":"https://api.github.com/repos/pustovalov/app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pustovalov/app/statuses/{sha}","languages_url":"https://api.github.com/repos/pustovalov/app/languages","stargazers_url":"https://api.github.com/repos/pustovalov/app/stargazers","contributors_url":"https://api.github.com/repos/pustovalov/app/contributors","subscribers_url":"https://api.github.com/repos/pustovalov/app/subscribers","subscription_url":"https://api.github.com/repos/pustovalov/app/subscription","commits_url":"https://api.github.com/repos/pustovalov/app/commits{/sha}","git_commits_url":"https://api.github.com/repos/pustovalov/app/git/commits{/sha}","comments_url":"https://api.github.com/repos/pustovalov/app/comments{/number}","issue_comment_url":"https://api.github.com/repos/pustovalov/app/issues/comments{/number}","contents_url":"https://api.github.com/repos/pustovalov/app/contents/{+path}","compare_url":"https://api.github.com/repos/pustovalov/app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pustovalov/app/merges","archive_url":"https://api.github.com/repos/pustovalov/app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pustovalov/app/downloads","issues_url":"https://api.github.com/repos/pustovalov/app/issues{/number}","pulls_url":"https://api.github.com/repos/pustovalov/app/pulls{/number}","milestones_url":"https://api.github.com/repos/pustovalov/app/milestones{/number}","notifications_url":"https://api.github.com/repos/pustovalov/app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pustovalov/app/labels{/name}","releases_url":"https://api.github.com/repos/pustovalov/app/releases{/id}","created_at":"2015-10-07T02:56:29Z","updated_at":"2015-10-29T03:06:34Z","pushed_at":"2015-11-26T10:48:59Z","git_url":"git://github.com/pustovalov/app.git","ssh_url":"git@github.com:pustovalov/app.git","clone_url":"https://github.com/pustovalov/app.git","svn_url":"https://github.com/pustovalov/app","homepage":"http://cards.pustovalov.net","size":317,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"pustovalov:master","ref":"master","sha":"d12f4f7a87c82dd126d01271cfc3bc7332dca676","user":{"login":"pustovalov","id":1568885,"avatar_url":"https://avatars.githubusercontent.com/u/1568885?v=3","gravatar_id":"","url":"https://api.github.com/users/pustovalov","html_url":"https://github.com/pustovalov","followers_url":"https://api.github.com/users/pustovalov/followers","following_url":"https://api.github.com/users/pustovalov/following{/other_user}","gists_url":"https://api.github.com/users/pustovalov/gists{/gist_id}","starred_url":"https://api.github.com/users/pustovalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pustovalov/subscriptions","organizations_url":"https://api.github.com/users/pustovalov/orgs","repos_url":"https://api.github.com/users/pustovalov/repos","events_url":"https://api.github.com/users/pustovalov/events{/privacy}","received_events_url":"https://api.github.com/users/pustovalov/received_events","type":"User","site_admin":false},"repo":{"id":43791908,"name":"app","full_name":"pustovalov/app","owner":{"login":"pustovalov","id":1568885,"avatar_url":"https://avatars.githubusercontent.com/u/1568885?v=3","gravatar_id":"","url":"https://api.github.com/users/pustovalov","html_url":"https://github.com/pustovalov","followers_url":"https://api.github.com/users/pustovalov/followers","following_url":"https://api.github.com/users/pustovalov/following{/other_user}","gists_url":"https://api.github.com/users/pustovalov/gists{/gist_id}","starred_url":"https://api.github.com/users/pustovalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pustovalov/subscriptions","organizations_url":"https://api.github.com/users/pustovalov/orgs","repos_url":"https://api.github.com/users/pustovalov/repos","events_url":"https://api.github.com/users/pustovalov/events{/privacy}","received_events_url":"https://api.github.com/users/pustovalov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pustovalov/app","description":"Flash cards","fork":false,"url":"https://api.github.com/repos/pustovalov/app","forks_url":"https://api.github.com/repos/pustovalov/app/forks","keys_url":"https://api.github.com/repos/pustovalov/app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pustovalov/app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pustovalov/app/teams","hooks_url":"https://api.github.com/repos/pustovalov/app/hooks","issue_events_url":"https://api.github.com/repos/pustovalov/app/issues/events{/number}","events_url":"https://api.github.com/repos/pustovalov/app/events","assignees_url":"https://api.github.com/repos/pustovalov/app/assignees{/user}","branches_url":"https://api.github.com/repos/pustovalov/app/branches{/branch}","tags_url":"https://api.github.com/repos/pustovalov/app/tags","blobs_url":"https://api.github.com/repos/pustovalov/app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pustovalov/app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pustovalov/app/git/refs{/sha}","trees_url":"https://api.github.com/repos/pustovalov/app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pustovalov/app/statuses/{sha}","languages_url":"https://api.github.com/repos/pustovalov/app/languages","stargazers_url":"https://api.github.com/repos/pustovalov/app/stargazers","contributors_url":"https://api.github.com/repos/pustovalov/app/contributors","subscribers_url":"https://api.github.com/repos/pustovalov/app/subscribers","subscription_url":"https://api.github.com/repos/pustovalov/app/subscription","commits_url":"https://api.github.com/repos/pustovalov/app/commits{/sha}","git_commits_url":"https://api.github.com/repos/pustovalov/app/git/commits{/sha}","comments_url":"https://api.github.com/repos/pustovalov/app/comments{/number}","issue_comment_url":"https://api.github.com/repos/pustovalov/app/issues/comments{/number}","contents_url":"https://api.github.com/repos/pustovalov/app/contents/{+path}","compare_url":"https://api.github.com/repos/pustovalov/app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pustovalov/app/merges","archive_url":"https://api.github.com/repos/pustovalov/app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pustovalov/app/downloads","issues_url":"https://api.github.com/repos/pustovalov/app/issues{/number}","pulls_url":"https://api.github.com/repos/pustovalov/app/pulls{/number}","milestones_url":"https://api.github.com/repos/pustovalov/app/milestones{/number}","notifications_url":"https://api.github.com/repos/pustovalov/app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pustovalov/app/labels{/name}","releases_url":"https://api.github.com/repos/pustovalov/app/releases{/id}","created_at":"2015-10-07T02:56:29Z","updated_at":"2015-10-29T03:06:34Z","pushed_at":"2015-11-26T10:48:59Z","git_url":"git://github.com/pustovalov/app.git","ssh_url":"git@github.com:pustovalov/app.git","clone_url":"https://github.com/pustovalov/app.git","svn_url":"https://github.com/pustovalov/app","homepage":"http://cards.pustovalov.net","size":317,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pustovalov/app/pulls/18"},"html":{"href":"https://github.com/pustovalov/app/pull/18"},"issue":{"href":"https://api.github.com/repos/pustovalov/app/issues/18"},"comments":{"href":"https://api.github.com/repos/pustovalov/app/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/pustovalov/app/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/pustovalov/app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pustovalov/app/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/pustovalov/app/statuses/1ab21a0cb66b5abdb63bdf2921bbbfb3ee60f6a2"}}}}