{"action":"created","comment":{"url":"https://api.github.com/repos/acepsaepudin/belajar-rails/pulls/comments/49264684","id":49264684,"diff_hunk":"@@ -0,0 +1,44 @@\n+class TagsController < ApplicationController\n+  def index\n+    @tags = Tag.all\n+  end\n+\n+  def new\n+    @tag = Tag.new\n+  end\n+\n+  def create\n+    @tag = Tag.new(allow_tag_params)\n+    if @tag.save\n+      redirect_to tags_path\n+    else\n+      render 'new'\n+    end\n+  end\n+\n+  def edit\n+    @tag = Tag.find(params[:id])\n+  end\n+  def update","path":"app/controllers/tags_controller.rb","position":22,"original_position":22,"commit_id":"19f524bbb76e960154283ba3f4353be54dce22fe","original_commit_id":"19f524bbb76e960154283ba3f4353be54dce22fe","user":{"login":"tsara27","id":3486644,"avatar_url":"https://avatars.githubusercontent.com/u/3486644?v=3","gravatar_id":"","url":"https://api.github.com/users/tsara27","html_url":"https://github.com/tsara27","followers_url":"https://api.github.com/users/tsara27/followers","following_url":"https://api.github.com/users/tsara27/following{/other_user}","gists_url":"https://api.github.com/users/tsara27/gists{/gist_id}","starred_url":"https://api.github.com/users/tsara27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsara27/subscriptions","organizations_url":"https://api.github.com/users/tsara27/orgs","repos_url":"https://api.github.com/users/tsara27/repos","events_url":"https://api.github.com/users/tsara27/events{/privacy}","received_events_url":"https://api.github.com/users/tsara27/received_events","type":"User","site_admin":false},"body":"Ini kasih enter aja sekali jadi\r\n```\r\n...\r\nend\r\n\r\ndef update","created_at":"2016-01-09T14:54:10Z","updated_at":"2016-01-09T14:54:10Z","html_url":"https://github.com/acepsaepudin/belajar-rails/pull/5#discussion_r49264684","pull_request_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/acepsaepudin/belajar-rails/pulls/comments/49264684"},"html":{"href":"https://github.com/acepsaepudin/belajar-rails/pull/5#discussion_r49264684"},"pull_request":{"href":"https://api.github.com/repos/acepsaepudin/belajar-rails/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/acepsaepudin/belajar-rails/pulls/5","id":55543838,"html_url":"https://github.com/acepsaepudin/belajar-rails/pull/5","diff_url":"https://github.com/acepsaepudin/belajar-rails/pull/5.diff","patch_url":"https://github.com/acepsaepudin/belajar-rails/pull/5.patch","issue_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/issues/5","number":5,"state":"open","locked":false,"title":"add crud tags","user":{"login":"acepsaepudin","id":6733479,"avatar_url":"https://avatars.githubusercontent.com/u/6733479?v=3","gravatar_id":"","url":"https://api.github.com/users/acepsaepudin","html_url":"https://github.com/acepsaepudin","followers_url":"https://api.github.com/users/acepsaepudin/followers","following_url":"https://api.github.com/users/acepsaepudin/following{/other_user}","gists_url":"https://api.github.com/users/acepsaepudin/gists{/gist_id}","starred_url":"https://api.github.com/users/acepsaepudin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acepsaepudin/subscriptions","organizations_url":"https://api.github.com/users/acepsaepudin/orgs","repos_url":"https://api.github.com/users/acepsaepudin/repos","events_url":"https://api.github.com/users/acepsaepudin/events{/privacy}","received_events_url":"https://api.github.com/users/acepsaepudin/received_events","type":"User","site_admin":false},"body":"ini komentar untuk crud tags (pull request)","created_at":"2016-01-09T14:51:48Z","updated_at":"2016-01-09T14:54:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/pulls/5/commits","review_comments_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/pulls/5/comments","review_comment_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/issues/5/comments","statuses_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/statuses/19f524bbb76e960154283ba3f4353be54dce22fe","head":{"label":"acepsaepudin:crud_tags","ref":"crud_tags","sha":"19f524bbb76e960154283ba3f4353be54dce22fe","user":{"login":"acepsaepudin","id":6733479,"avatar_url":"https://avatars.githubusercontent.com/u/6733479?v=3","gravatar_id":"","url":"https://api.github.com/users/acepsaepudin","html_url":"https://github.com/acepsaepudin","followers_url":"https://api.github.com/users/acepsaepudin/followers","following_url":"https://api.github.com/users/acepsaepudin/following{/other_user}","gists_url":"https://api.github.com/users/acepsaepudin/gists{/gist_id}","starred_url":"https://api.github.com/users/acepsaepudin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acepsaepudin/subscriptions","organizations_url":"https://api.github.com/users/acepsaepudin/orgs","repos_url":"https://api.github.com/users/acepsaepudin/repos","events_url":"https://api.github.com/users/acepsaepudin/events{/privacy}","received_events_url":"https://api.github.com/users/acepsaepudin/received_events","type":"User","site_admin":false},"repo":{"id":48777302,"name":"belajar-rails","full_name":"acepsaepudin/belajar-rails","owner":{"login":"acepsaepudin","id":6733479,"avatar_url":"https://avatars.githubusercontent.com/u/6733479?v=3","gravatar_id":"","url":"https://api.github.com/users/acepsaepudin","html_url":"https://github.com/acepsaepudin","followers_url":"https://api.github.com/users/acepsaepudin/followers","following_url":"https://api.github.com/users/acepsaepudin/following{/other_user}","gists_url":"https://api.github.com/users/acepsaepudin/gists{/gist_id}","starred_url":"https://api.github.com/users/acepsaepudin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acepsaepudin/subscriptions","organizations_url":"https://api.github.com/users/acepsaepudin/orgs","repos_url":"https://api.github.com/users/acepsaepudin/repos","events_url":"https://api.github.com/users/acepsaepudin/events{/privacy}","received_events_url":"https://api.github.com/users/acepsaepudin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/acepsaepudin/belajar-rails","description":"","fork":false,"url":"https://api.github.com/repos/acepsaepudin/belajar-rails","forks_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/forks","keys_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/teams","hooks_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/hooks","issue_events_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/issues/events{/number}","events_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/events","assignees_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/assignees{/user}","branches_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/branches{/branch}","tags_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/tags","blobs_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/languages","stargazers_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/stargazers","contributors_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/contributors","subscribers_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/subscribers","subscription_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/subscription","commits_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/contents/{+path}","compare_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/merges","archive_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/downloads","issues_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/issues{/number}","pulls_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/labels{/name}","releases_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/releases{/id}","created_at":"2015-12-30T02:33:13Z","updated_at":"2015-12-31T02:41:53Z","pushed_at":"2016-01-09T14:51:48Z","git_url":"git://github.com/acepsaepudin/belajar-rails.git","ssh_url":"git@github.com:acepsaepudin/belajar-rails.git","clone_url":"https://github.com/acepsaepudin/belajar-rails.git","svn_url":"https://github.com/acepsaepudin/belajar-rails","homepage":null,"size":1050,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"acepsaepudin:master","ref":"master","sha":"180e329d9aa86feb1a11a6177fc2d12d5b16ead1","user":{"login":"acepsaepudin","id":6733479,"avatar_url":"https://avatars.githubusercontent.com/u/6733479?v=3","gravatar_id":"","url":"https://api.github.com/users/acepsaepudin","html_url":"https://github.com/acepsaepudin","followers_url":"https://api.github.com/users/acepsaepudin/followers","following_url":"https://api.github.com/users/acepsaepudin/following{/other_user}","gists_url":"https://api.github.com/users/acepsaepudin/gists{/gist_id}","starred_url":"https://api.github.com/users/acepsaepudin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acepsaepudin/subscriptions","organizations_url":"https://api.github.com/users/acepsaepudin/orgs","repos_url":"https://api.github.com/users/acepsaepudin/repos","events_url":"https://api.github.com/users/acepsaepudin/events{/privacy}","received_events_url":"https://api.github.com/users/acepsaepudin/received_events","type":"User","site_admin":false},"repo":{"id":48777302,"name":"belajar-rails","full_name":"acepsaepudin/belajar-rails","owner":{"login":"acepsaepudin","id":6733479,"avatar_url":"https://avatars.githubusercontent.com/u/6733479?v=3","gravatar_id":"","url":"https://api.github.com/users/acepsaepudin","html_url":"https://github.com/acepsaepudin","followers_url":"https://api.github.com/users/acepsaepudin/followers","following_url":"https://api.github.com/users/acepsaepudin/following{/other_user}","gists_url":"https://api.github.com/users/acepsaepudin/gists{/gist_id}","starred_url":"https://api.github.com/users/acepsaepudin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acepsaepudin/subscriptions","organizations_url":"https://api.github.com/users/acepsaepudin/orgs","repos_url":"https://api.github.com/users/acepsaepudin/repos","events_url":"https://api.github.com/users/acepsaepudin/events{/privacy}","received_events_url":"https://api.github.com/users/acepsaepudin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/acepsaepudin/belajar-rails","description":"","fork":false,"url":"https://api.github.com/repos/acepsaepudin/belajar-rails","forks_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/forks","keys_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/teams","hooks_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/hooks","issue_events_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/issues/events{/number}","events_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/events","assignees_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/assignees{/user}","branches_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/branches{/branch}","tags_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/tags","blobs_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/languages","stargazers_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/stargazers","contributors_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/contributors","subscribers_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/subscribers","subscription_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/subscription","commits_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/contents/{+path}","compare_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/merges","archive_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/downloads","issues_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/issues{/number}","pulls_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/labels{/name}","releases_url":"https://api.github.com/repos/acepsaepudin/belajar-rails/releases{/id}","created_at":"2015-12-30T02:33:13Z","updated_at":"2015-12-31T02:41:53Z","pushed_at":"2016-01-09T14:51:48Z","git_url":"git://github.com/acepsaepudin/belajar-rails.git","ssh_url":"git@github.com:acepsaepudin/belajar-rails.git","clone_url":"https://github.com/acepsaepudin/belajar-rails.git","svn_url":"https://github.com/acepsaepudin/belajar-rails","homepage":null,"size":1050,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/acepsaepudin/belajar-rails/pulls/5"},"html":{"href":"https://github.com/acepsaepudin/belajar-rails/pull/5"},"issue":{"href":"https://api.github.com/repos/acepsaepudin/belajar-rails/issues/5"},"comments":{"href":"https://api.github.com/repos/acepsaepudin/belajar-rails/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/acepsaepudin/belajar-rails/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/acepsaepudin/belajar-rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/acepsaepudin/belajar-rails/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/acepsaepudin/belajar-rails/statuses/19f524bbb76e960154283ba3f4353be54dce22fe"}}}}