{"action":"opened","number":18,"pull_request":{"url":"https://api.github.com/repos/jumph4x/canonical-rails/pulls/18","id":42639911,"html_url":"https://github.com/jumph4x/canonical-rails/pull/18","diff_url":"https://github.com/jumph4x/canonical-rails/pull/18.diff","patch_url":"https://github.com/jumph4x/canonical-rails/pull/18.patch","issue_url":"https://api.github.com/repos/jumph4x/canonical-rails/issues/18","number":18,"state":"open","locked":false,"title":"Remove Trailing Slash In All URLs & Remove `member_actions`","user":{"login":"v4n","id":6045161,"avatar_url":"https://avatars.githubusercontent.com/u/6045161?v=3","gravatar_id":"","url":"https://api.github.com/users/v4n","html_url":"https://github.com/v4n","followers_url":"https://api.github.com/users/v4n/followers","following_url":"https://api.github.com/users/v4n/following{/other_user}","gists_url":"https://api.github.com/users/v4n/gists{/gist_id}","starred_url":"https://api.github.com/users/v4n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v4n/subscriptions","organizations_url":"https://api.github.com/users/v4n/orgs","repos_url":"https://api.github.com/users/v4n/repos","events_url":"https://api.github.com/users/v4n/events{/privacy}","received_events_url":"https://api.github.com/users/v4n/received_events","type":"User","site_admin":false},"body":"When I specified:\r\n```\r\n  config.collection_actions = []\r\n```\r\nSo that no url has a trailing slash, the canonical tag outputs a trailing slash for the root url (`request.path == '/'`.... `http://localhost:3000/`).\r\n\r\nThis commit prevents having a trailing slash for all urls including the root url if trailing slash is not needed. Also, removed `member_actions` which does not seem to be used.","created_at":"2015-08-17T22:04:29Z","updated_at":"2015-08-17T22:04:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3ac5eebb469515f1b9fe2074ed21e2213679d166","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jumph4x/canonical-rails/pulls/18/commits","review_comments_url":"https://api.github.com/repos/jumph4x/canonical-rails/pulls/18/comments","review_comment_url":"https://api.github.com/repos/jumph4x/canonical-rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jumph4x/canonical-rails/issues/18/comments","statuses_url":"https://api.github.com/repos/jumph4x/canonical-rails/statuses/bd94acb56f754be3499c2ab2c10ba3c26fd9018f","head":{"label":"v4n:master","ref":"master","sha":"bd94acb56f754be3499c2ab2c10ba3c26fd9018f","user":{"login":"v4n","id":6045161,"avatar_url":"https://avatars.githubusercontent.com/u/6045161?v=3","gravatar_id":"","url":"https://api.github.com/users/v4n","html_url":"https://github.com/v4n","followers_url":"https://api.github.com/users/v4n/followers","following_url":"https://api.github.com/users/v4n/following{/other_user}","gists_url":"https://api.github.com/users/v4n/gists{/gist_id}","starred_url":"https://api.github.com/users/v4n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v4n/subscriptions","organizations_url":"https://api.github.com/users/v4n/orgs","repos_url":"https://api.github.com/users/v4n/repos","events_url":"https://api.github.com/users/v4n/events{/privacy}","received_events_url":"https://api.github.com/users/v4n/received_events","type":"User","site_admin":false},"repo":{"id":40926627,"name":"canonical-rails","full_name":"v4n/canonical-rails","owner":{"login":"v4n","id":6045161,"avatar_url":"https://avatars.githubusercontent.com/u/6045161?v=3","gravatar_id":"","url":"https://api.github.com/users/v4n","html_url":"https://github.com/v4n","followers_url":"https://api.github.com/users/v4n/followers","following_url":"https://api.github.com/users/v4n/following{/other_user}","gists_url":"https://api.github.com/users/v4n/gists{/gist_id}","starred_url":"https://api.github.com/users/v4n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v4n/subscriptions","organizations_url":"https://api.github.com/users/v4n/orgs","repos_url":"https://api.github.com/users/v4n/repos","events_url":"https://api.github.com/users/v4n/events{/privacy}","received_events_url":"https://api.github.com/users/v4n/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/v4n/canonical-rails","description":"Quick and configurable canonical tag to use in Rails views. ","fork":true,"url":"https://api.github.com/repos/v4n/canonical-rails","forks_url":"https://api.github.com/repos/v4n/canonical-rails/forks","keys_url":"https://api.github.com/repos/v4n/canonical-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/v4n/canonical-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/v4n/canonical-rails/teams","hooks_url":"https://api.github.com/repos/v4n/canonical-rails/hooks","issue_events_url":"https://api.github.com/repos/v4n/canonical-rails/issues/events{/number}","events_url":"https://api.github.com/repos/v4n/canonical-rails/events","assignees_url":"https://api.github.com/repos/v4n/canonical-rails/assignees{/user}","branches_url":"https://api.github.com/repos/v4n/canonical-rails/branches{/branch}","tags_url":"https://api.github.com/repos/v4n/canonical-rails/tags","blobs_url":"https://api.github.com/repos/v4n/canonical-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/v4n/canonical-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/v4n/canonical-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/v4n/canonical-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/v4n/canonical-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/v4n/canonical-rails/languages","stargazers_url":"https://api.github.com/repos/v4n/canonical-rails/stargazers","contributors_url":"https://api.github.com/repos/v4n/canonical-rails/contributors","subscribers_url":"https://api.github.com/repos/v4n/canonical-rails/subscribers","subscription_url":"https://api.github.com/repos/v4n/canonical-rails/subscription","commits_url":"https://api.github.com/repos/v4n/canonical-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/v4n/canonical-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/v4n/canonical-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/v4n/canonical-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/v4n/canonical-rails/contents/{+path}","compare_url":"https://api.github.com/repos/v4n/canonical-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/v4n/canonical-rails/merges","archive_url":"https://api.github.com/repos/v4n/canonical-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/v4n/canonical-rails/downloads","issues_url":"https://api.github.com/repos/v4n/canonical-rails/issues{/number}","pulls_url":"https://api.github.com/repos/v4n/canonical-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/v4n/canonical-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/v4n/canonical-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/v4n/canonical-rails/labels{/name}","releases_url":"https://api.github.com/repos/v4n/canonical-rails/releases{/id}","created_at":"2015-08-17T20:31:06Z","updated_at":"2015-08-17T20:31:07Z","pushed_at":"2015-08-17T20:40:14Z","git_url":"git://github.com/v4n/canonical-rails.git","ssh_url":"git@github.com:v4n/canonical-rails.git","clone_url":"https://github.com/v4n/canonical-rails.git","svn_url":"https://github.com/v4n/canonical-rails","homepage":"","size":249,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jumph4x:master","ref":"master","sha":"a4f65e20dcad6577111373709b7ee47c0675b625","user":{"login":"jumph4x","id":109290,"avatar_url":"https://avatars.githubusercontent.com/u/109290?v=3","gravatar_id":"","url":"https://api.github.com/users/jumph4x","html_url":"https://github.com/jumph4x","followers_url":"https://api.github.com/users/jumph4x/followers","following_url":"https://api.github.com/users/jumph4x/following{/other_user}","gists_url":"https://api.github.com/users/jumph4x/gists{/gist_id}","starred_url":"https://api.github.com/users/jumph4x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jumph4x/subscriptions","organizations_url":"https://api.github.com/users/jumph4x/orgs","repos_url":"https://api.github.com/users/jumph4x/repos","events_url":"https://api.github.com/users/jumph4x/events{/privacy}","received_events_url":"https://api.github.com/users/jumph4x/received_events","type":"User","site_admin":false},"repo":{"id":3900928,"name":"canonical-rails","full_name":"jumph4x/canonical-rails","owner":{"login":"jumph4x","id":109290,"avatar_url":"https://avatars.githubusercontent.com/u/109290?v=3","gravatar_id":"","url":"https://api.github.com/users/jumph4x","html_url":"https://github.com/jumph4x","followers_url":"https://api.github.com/users/jumph4x/followers","following_url":"https://api.github.com/users/jumph4x/following{/other_user}","gists_url":"https://api.github.com/users/jumph4x/gists{/gist_id}","starred_url":"https://api.github.com/users/jumph4x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jumph4x/subscriptions","organizations_url":"https://api.github.com/users/jumph4x/orgs","repos_url":"https://api.github.com/users/jumph4x/repos","events_url":"https://api.github.com/users/jumph4x/events{/privacy}","received_events_url":"https://api.github.com/users/jumph4x/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jumph4x/canonical-rails","description":"Quick and configurable canonical tag to use in Rails views. ","fork":false,"url":"https://api.github.com/repos/jumph4x/canonical-rails","forks_url":"https://api.github.com/repos/jumph4x/canonical-rails/forks","keys_url":"https://api.github.com/repos/jumph4x/canonical-rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jumph4x/canonical-rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jumph4x/canonical-rails/teams","hooks_url":"https://api.github.com/repos/jumph4x/canonical-rails/hooks","issue_events_url":"https://api.github.com/repos/jumph4x/canonical-rails/issues/events{/number}","events_url":"https://api.github.com/repos/jumph4x/canonical-rails/events","assignees_url":"https://api.github.com/repos/jumph4x/canonical-rails/assignees{/user}","branches_url":"https://api.github.com/repos/jumph4x/canonical-rails/branches{/branch}","tags_url":"https://api.github.com/repos/jumph4x/canonical-rails/tags","blobs_url":"https://api.github.com/repos/jumph4x/canonical-rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jumph4x/canonical-rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jumph4x/canonical-rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/jumph4x/canonical-rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jumph4x/canonical-rails/statuses/{sha}","languages_url":"https://api.github.com/repos/jumph4x/canonical-rails/languages","stargazers_url":"https://api.github.com/repos/jumph4x/canonical-rails/stargazers","contributors_url":"https://api.github.com/repos/jumph4x/canonical-rails/contributors","subscribers_url":"https://api.github.com/repos/jumph4x/canonical-rails/subscribers","subscription_url":"https://api.github.com/repos/jumph4x/canonical-rails/subscription","commits_url":"https://api.github.com/repos/jumph4x/canonical-rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/jumph4x/canonical-rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/jumph4x/canonical-rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/jumph4x/canonical-rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/jumph4x/canonical-rails/contents/{+path}","compare_url":"https://api.github.com/repos/jumph4x/canonical-rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jumph4x/canonical-rails/merges","archive_url":"https://api.github.com/repos/jumph4x/canonical-rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jumph4x/canonical-rails/downloads","issues_url":"https://api.github.com/repos/jumph4x/canonical-rails/issues{/number}","pulls_url":"https://api.github.com/repos/jumph4x/canonical-rails/pulls{/number}","milestones_url":"https://api.github.com/repos/jumph4x/canonical-rails/milestones{/number}","notifications_url":"https://api.github.com/repos/jumph4x/canonical-rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jumph4x/canonical-rails/labels{/name}","releases_url":"https://api.github.com/repos/jumph4x/canonical-rails/releases{/id}","created_at":"2012-04-02T13:35:38Z","updated_at":"2015-08-12T13:32:23Z","pushed_at":"2015-08-17T22:04:29Z","git_url":"git://github.com/jumph4x/canonical-rails.git","ssh_url":"git@github.com:jumph4x/canonical-rails.git","clone_url":"https://github.com/jumph4x/canonical-rails.git","svn_url":"https://github.com/jumph4x/canonical-rails","homepage":"","size":249,"stargazers_count":34,"watchers_count":34,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":1,"forks":21,"open_issues":1,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jumph4x/canonical-rails/pulls/18"},"html":{"href":"https://github.com/jumph4x/canonical-rails/pull/18"},"issue":{"href":"https://api.github.com/repos/jumph4x/canonical-rails/issues/18"},"comments":{"href":"https://api.github.com/repos/jumph4x/canonical-rails/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/jumph4x/canonical-rails/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/jumph4x/canonical-rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jumph4x/canonical-rails/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/jumph4x/canonical-rails/statuses/bd94acb56f754be3499c2ab2c10ba3c26fd9018f"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":1,"deletions":3,"changed_files":2}}