GitHub PullRequestReviewCommentEvent at 2014-05-17 10:08:14
Repository: Coolsoft-14
Actor: KhaledHelmy
Payload: {"comment":{"url":"https://api.github.com/repos/alaashafaee/Coolsoft-14/pulls/comments/12767767","id":12767767,"diff_hunk":"@@ -49,9 +57,21 @@ def create\n \t\t\t@tip.owner_id = current_teaching_assistant.id\n \t\tend\n \t\tif @tip.save\n-\t\t\trender :action => 'show'\n+\t\t\t@model_answer = ModelAnswer.find_by_id(session[:model_answer_id])\n+\t\t\t@model_answer.hints << @tip\n+\t\t\tif session[:flag] == \"1\"\n+\t\t\t\tredirect_to :controller => 'tips', :action => 'index', \n+\t\t\t\t:problem_id => session[:problem_id], :track_id => session[:track_id], ","path":"tutor/app/controllers/tips_controller.rb","position":37,"original_position":37,"commit_id":"887ff7fbb924f0ef167fadcb04d5619207690996","original_commit_id":"887ff7fbb924f0ef167fadcb04d5619207690996","user":{"login":"KhaledHelmy","id":6735475,"avatar_url":"https://avatars.githubusercontent.com/u/6735475?","gravatar_id":"943e246417efffca9306d384685a807d","url":"https://api.github.com/users/KhaledHelmy","html_url":"https://github.com/KhaledHelmy","followers_url":"https://api.github.com/users/KhaledHelmy/followers","following_url":"https://api.github.com/users/KhaledHelmy/following{/other_user}","gists_url":"https://api.github.com/users/KhaledHelmy/gists{/gist_id}","starred_url":"https://api.github.com/users/KhaledHelmy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KhaledHelmy/subscriptions","organizations_url":"https://api.github.com/users/KhaledHelmy/orgs","repos_url":"https://api.github.com/users/KhaledHelmy/repos","events_url":"https://api.github.com/users/KhaledHelmy/events{/privacy}","received_events_url":"https://api.github.com/users/KhaledHelmy/received_events","type":"User","site_admin":false},"body":"There should be a tab here. Please fix in the rest of the file.","created_at":"2014-05-17T10:08:14Z","updated_at":"2014-05-17T10:08:14Z","html_url":"https://github.com/alaashafaee/Coolsoft-14/pull/529#discussion_r12767767","pull_request_url":"https://api.github.com/repos/alaashafaee/Coolsoft-14/pulls/529","_links":{"self":{"href":"https://api.github.com/repos/alaashafaee/Coolsoft-14/pulls/comments/12767767"},"html":{"href":"https://github.com/alaashafaee/Coolsoft-14/pull/529#discussion_r12767767"},"pull_request":{"href":"https://api.github.com/repos/alaashafaee/Coolsoft-14/pulls/529"}}}}