{"action":"created","comment":{"url":"https://api.github.com/repos/denverstartupweek/dsw-site/pulls/comments/192630862","pull_request_review_id":125440330,"id":192630862,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MjYzMDg2Mg==","diff_hunk":"@@ -0,0 +1,68 @@\n+class VenuesController < ApplicationController\n+  before_action :set_venue, only: %i[show edit update destroy]\n+\n+  # GET /venues\n+  def index\n+    @venues = Venue.all\n+    p Venue\n+  end\n+\n+  # GET /venues/1\n+  def show; end\n+\n+  # GET /venues/new\n+  def new\n+    @venue = Venue.new\n+  end\n+\n+  # GET /venues/1/edit\n+  def edit; end\n+\n+  # POST /venues\n+  def create\n+    @venue = Venue.new(venue_params)\n+\n+    if @venue.save\n+      respond_with @venue, notice: 'Venue was successfully created.'\n+    else\n+      render :new\n+    end\n+  end\n+\n+  # PATCH/PUT /venues/1\n+  def update\n+    if @venue.update(venue_params)\n+      respond_with @venue, notice: 'Venue was successfully updated.'\n+    else\n+      render :edit\n+    end\n+  end\n+\n+  # DELETE /venues/1\n+  def destroy\n+    @venue.destroy\n+    redirect_to venues_url, notice: 'Venue was successfully destroyed.'\n+  end\n+\n+  private\n+\n+  # Use callbacks to share common setup or constraints between actions.\n+  def set_venue\n+    @venue = Venue.find(params[:id])\n+  end\n+\n+  def venue_params\n+    params.require(:venue).permit(\n+      :name, \n+      :description, \n+      :address, \n+      :suite_or_unit, \n+      :city, ","path":"app/controllers/venues_controller.rb","position":60,"original_position":60,"commit_id":"f9038d2024f98937ff56be747c1aad9dbf66bc8b","original_commit_id":"f9038d2024f98937ff56be747c1aad9dbf66bc8b","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Layout/TrailingWhitespace: Trailing whitespace detected.","created_at":"2018-06-04T05:42:01Z","updated_at":"2018-06-04T05:42:02Z","html_url":"https://github.com/denverstartupweek/dsw-site/pull/295#discussion_r192630862","pull_request_url":"https://api.github.com/repos/denverstartupweek/dsw-site/pulls/295","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/denverstartupweek/dsw-site/pulls/comments/192630862"},"html":{"href":"https://github.com/denverstartupweek/dsw-site/pull/295#discussion_r192630862"},"pull_request":{"href":"https://api.github.com/repos/denverstartupweek/dsw-site/pulls/295"}}},"pull_request":{"url":"https://api.github.com/repos/denverstartupweek/dsw-site/pulls/295","id":191032823,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxMDMyODIz","html_url":"https://github.com/denverstartupweek/dsw-site/pull/295","diff_url":"https://github.com/denverstartupweek/dsw-site/pull/295.diff","patch_url":"https://github.com/denverstartupweek/dsw-site/pull/295.patch","issue_url":"https://api.github.com/repos/denverstartupweek/dsw-site/issues/295","number":295,"state":"open","locked":false,"title":"WIP: Adds venue as a user controllable view. ","user":{"login":"dummey","id":228845,"node_id":"MDQ6VXNlcjIyODg0NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/228845?v=4","gravatar_id":"","url":"https://api.github.com/users/dummey","html_url":"https://github.com/dummey","followers_url":"https://api.github.com/users/dummey/followers","following_url":"https://api.github.com/users/dummey/following{/other_user}","gists_url":"https://api.github.com/users/dummey/gists{/gist_id}","starred_url":"https://api.github.com/users/dummey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dummey/subscriptions","organizations_url":"https://api.github.com/users/dummey/orgs","repos_url":"https://api.github.com/users/dummey/repos","events_url":"https://api.github.com/users/dummey/events{/privacy}","received_events_url":"https://api.github.com/users/dummey/received_events","type":"User","site_admin":false},"body":"For users whose 'is_venue_host' field is set to true, they will see a new tab in their profile called 'My Venues'. From here, they will be able to add and edit venues that are owned by them. ","created_at":"2018-05-29T04:55:23Z","updated_at":"2018-06-04T05:42:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f8a0fc464b80da9bab66decbe94ba112302482a3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/denverstartupweek/dsw-site/pulls/295/commits","review_comments_url":"https://api.github.com/repos/denverstartupweek/dsw-site/pulls/295/comments","review_comment_url":"https://api.github.com/repos/denverstartupweek/dsw-site/pulls/comments{/number}","comments_url":"https://api.github.com/repos/denverstartupweek/dsw-site/issues/295/comments","statuses_url":"https://api.github.com/repos/denverstartupweek/dsw-site/statuses/f9038d2024f98937ff56be747c1aad9dbf66bc8b","head":{"label":"dummey:master","ref":"master","sha":"f9038d2024f98937ff56be747c1aad9dbf66bc8b","user":{"login":"dummey","id":228845,"node_id":"MDQ6VXNlcjIyODg0NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/228845?v=4","gravatar_id":"","url":"https://api.github.com/users/dummey","html_url":"https://github.com/dummey","followers_url":"https://api.github.com/users/dummey/followers","following_url":"https://api.github.com/users/dummey/following{/other_user}","gists_url":"https://api.github.com/users/dummey/gists{/gist_id}","starred_url":"https://api.github.com/users/dummey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dummey/subscriptions","organizations_url":"https://api.github.com/users/dummey/orgs","repos_url":"https://api.github.com/users/dummey/repos","events_url":"https://api.github.com/users/dummey/events{/privacy}","received_events_url":"https://api.github.com/users/dummey/received_events","type":"User","site_admin":false},"repo":{"id":132305902,"node_id":"MDEwOlJlcG9zaXRvcnkxMzIzMDU5MDI=","name":"dsw-site","full_name":"dummey/dsw-site","owner":{"login":"dummey","id":228845,"node_id":"MDQ6VXNlcjIyODg0NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/228845?v=4","gravatar_id":"","url":"https://api.github.com/users/dummey","html_url":"https://github.com/dummey","followers_url":"https://api.github.com/users/dummey/followers","following_url":"https://api.github.com/users/dummey/following{/other_user}","gists_url":"https://api.github.com/users/dummey/gists{/gist_id}","starred_url":"https://api.github.com/users/dummey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dummey/subscriptions","organizations_url":"https://api.github.com/users/dummey/orgs","repos_url":"https://api.github.com/users/dummey/repos","events_url":"https://api.github.com/users/dummey/events{/privacy}","received_events_url":"https://api.github.com/users/dummey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dummey/dsw-site","description":"Denver Startup Week Website, Panel Picker, and Registration","fork":true,"url":"https://api.github.com/repos/dummey/dsw-site","forks_url":"https://api.github.com/repos/dummey/dsw-site/forks","keys_url":"https://api.github.com/repos/dummey/dsw-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dummey/dsw-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dummey/dsw-site/teams","hooks_url":"https://api.github.com/repos/dummey/dsw-site/hooks","issue_events_url":"https://api.github.com/repos/dummey/dsw-site/issues/events{/number}","events_url":"https://api.github.com/repos/dummey/dsw-site/events","assignees_url":"https://api.github.com/repos/dummey/dsw-site/assignees{/user}","branches_url":"https://api.github.com/repos/dummey/dsw-site/branches{/branch}","tags_url":"https://api.github.com/repos/dummey/dsw-site/tags","blobs_url":"https://api.github.com/repos/dummey/dsw-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dummey/dsw-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dummey/dsw-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/dummey/dsw-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dummey/dsw-site/statuses/{sha}","languages_url":"https://api.github.com/repos/dummey/dsw-site/languages","stargazers_url":"https://api.github.com/repos/dummey/dsw-site/stargazers","contributors_url":"https://api.github.com/repos/dummey/dsw-site/contributors","subscribers_url":"https://api.github.com/repos/dummey/dsw-site/subscribers","subscription_url":"https://api.github.com/repos/dummey/dsw-site/subscription","commits_url":"https://api.github.com/repos/dummey/dsw-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/dummey/dsw-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/dummey/dsw-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/dummey/dsw-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/dummey/dsw-site/contents/{+path}","compare_url":"https://api.github.com/repos/dummey/dsw-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dummey/dsw-site/merges","archive_url":"https://api.github.com/repos/dummey/dsw-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dummey/dsw-site/downloads","issues_url":"https://api.github.com/repos/dummey/dsw-site/issues{/number}","pulls_url":"https://api.github.com/repos/dummey/dsw-site/pulls{/number}","milestones_url":"https://api.github.com/repos/dummey/dsw-site/milestones{/number}","notifications_url":"https://api.github.com/repos/dummey/dsw-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dummey/dsw-site/labels{/name}","releases_url":"https://api.github.com/repos/dummey/dsw-site/releases{/id}","deployments_url":"https://api.github.com/repos/dummey/dsw-site/deployments","created_at":"2018-05-06T04:15:43Z","updated_at":"2018-06-04T05:41:41Z","pushed_at":"2018-06-04T05:41:38Z","git_url":"git://github.com/dummey/dsw-site.git","ssh_url":"git@github.com:dummey/dsw-site.git","clone_url":"https://github.com/dummey/dsw-site.git","svn_url":"https://github.com/dummey/dsw-site","homepage":"http://www.denverstartupweek.org/","size":68241,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"denverstartupweek:master","ref":"master","sha":"5ca96160767a8b2f42f9ec1dbbd45cbf116bc99b","user":{"login":"denverstartupweek","id":8466643,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg0NjY2NDM=","avatar_url":"https://avatars1.githubusercontent.com/u/8466643?v=4","gravatar_id":"","url":"https://api.github.com/users/denverstartupweek","html_url":"https://github.com/denverstartupweek","followers_url":"https://api.github.com/users/denverstartupweek/followers","following_url":"https://api.github.com/users/denverstartupweek/following{/other_user}","gists_url":"https://api.github.com/users/denverstartupweek/gists{/gist_id}","starred_url":"https://api.github.com/users/denverstartupweek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denverstartupweek/subscriptions","organizations_url":"https://api.github.com/users/denverstartupweek/orgs","repos_url":"https://api.github.com/users/denverstartupweek/repos","events_url":"https://api.github.com/users/denverstartupweek/events{/privacy}","received_events_url":"https://api.github.com/users/denverstartupweek/received_events","type":"Organization","site_admin":false},"repo":{"id":51704309,"node_id":"MDEwOlJlcG9zaXRvcnk1MTcwNDMwOQ==","name":"dsw-site","full_name":"denverstartupweek/dsw-site","owner":{"login":"denverstartupweek","id":8466643,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg0NjY2NDM=","avatar_url":"https://avatars1.githubusercontent.com/u/8466643?v=4","gravatar_id":"","url":"https://api.github.com/users/denverstartupweek","html_url":"https://github.com/denverstartupweek","followers_url":"https://api.github.com/users/denverstartupweek/followers","following_url":"https://api.github.com/users/denverstartupweek/following{/other_user}","gists_url":"https://api.github.com/users/denverstartupweek/gists{/gist_id}","starred_url":"https://api.github.com/users/denverstartupweek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denverstartupweek/subscriptions","organizations_url":"https://api.github.com/users/denverstartupweek/orgs","repos_url":"https://api.github.com/users/denverstartupweek/repos","events_url":"https://api.github.com/users/denverstartupweek/events{/privacy}","received_events_url":"https://api.github.com/users/denverstartupweek/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/denverstartupweek/dsw-site","description":"Denver Startup Week Website, Panel Picker, and Registration","fork":false,"url":"https://api.github.com/repos/denverstartupweek/dsw-site","forks_url":"https://api.github.com/repos/denverstartupweek/dsw-site/forks","keys_url":"https://api.github.com/repos/denverstartupweek/dsw-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/denverstartupweek/dsw-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/denverstartupweek/dsw-site/teams","hooks_url":"https://api.github.com/repos/denverstartupweek/dsw-site/hooks","issue_events_url":"https://api.github.com/repos/denverstartupweek/dsw-site/issues/events{/number}","events_url":"https://api.github.com/repos/denverstartupweek/dsw-site/events","assignees_url":"https://api.github.com/repos/denverstartupweek/dsw-site/assignees{/user}","branches_url":"https://api.github.com/repos/denverstartupweek/dsw-site/branches{/branch}","tags_url":"https://api.github.com/repos/denverstartupweek/dsw-site/tags","blobs_url":"https://api.github.com/repos/denverstartupweek/dsw-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/denverstartupweek/dsw-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/denverstartupweek/dsw-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/denverstartupweek/dsw-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/denverstartupweek/dsw-site/statuses/{sha}","languages_url":"https://api.github.com/repos/denverstartupweek/dsw-site/languages","stargazers_url":"https://api.github.com/repos/denverstartupweek/dsw-site/stargazers","contributors_url":"https://api.github.com/repos/denverstartupweek/dsw-site/contributors","subscribers_url":"https://api.github.com/repos/denverstartupweek/dsw-site/subscribers","subscription_url":"https://api.github.com/repos/denverstartupweek/dsw-site/subscription","commits_url":"https://api.github.com/repos/denverstartupweek/dsw-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/denverstartupweek/dsw-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/denverstartupweek/dsw-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/denverstartupweek/dsw-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/denverstartupweek/dsw-site/contents/{+path}","compare_url":"https://api.github.com/repos/denverstartupweek/dsw-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/denverstartupweek/dsw-site/merges","archive_url":"https://api.github.com/repos/denverstartupweek/dsw-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/denverstartupweek/dsw-site/downloads","issues_url":"https://api.github.com/repos/denverstartupweek/dsw-site/issues{/number}","pulls_url":"https://api.github.com/repos/denverstartupweek/dsw-site/pulls{/number}","milestones_url":"https://api.github.com/repos/denverstartupweek/dsw-site/milestones{/number}","notifications_url":"https://api.github.com/repos/denverstartupweek/dsw-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/denverstartupweek/dsw-site/labels{/name}","releases_url":"https://api.github.com/repos/denverstartupweek/dsw-site/releases{/id}","deployments_url":"https://api.github.com/repos/denverstartupweek/dsw-site/deployments","created_at":"2016-02-14T17:17:42Z","updated_at":"2018-06-03T23:53:36Z","pushed_at":"2018-06-04T05:41:41Z","git_url":"git://github.com/denverstartupweek/dsw-site.git","ssh_url":"git@github.com:denverstartupweek/dsw-site.git","clone_url":"https://github.com/denverstartupweek/dsw-site.git","svn_url":"https://github.com/denverstartupweek/dsw-site","homepage":"http://www.denverstartupweek.org/","size":68279,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":50,"license":null,"forks":9,"open_issues":50,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/denverstartupweek/dsw-site/pulls/295"},"html":{"href":"https://github.com/denverstartupweek/dsw-site/pull/295"},"issue":{"href":"https://api.github.com/repos/denverstartupweek/dsw-site/issues/295"},"comments":{"href":"https://api.github.com/repos/denverstartupweek/dsw-site/issues/295/comments"},"review_comments":{"href":"https://api.github.com/repos/denverstartupweek/dsw-site/pulls/295/comments"},"review_comment":{"href":"https://api.github.com/repos/denverstartupweek/dsw-site/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/denverstartupweek/dsw-site/pulls/295/commits"},"statuses":{"href":"https://api.github.com/repos/denverstartupweek/dsw-site/statuses/f9038d2024f98937ff56be747c1aad9dbf66bc8b"}},"author_association":"NONE"}}
{"actor":{"display_login":"houndci-bot"}}