{"action":"created","comment":{"url":"https://api.github.com/repos/projecthydra/sufia/pulls/comments/48735426","id":48735426,"diff_hunk":"@@ -121,6 +121,11 @@ def iconify_auto_link(text, showLink = true)\n       end\n     end\n \n+    def iconify_link(text, showLink = true)","path":"app/helpers/sufia/sufia_helper_behavior.rb","position":4,"original_position":4,"commit_id":"25c7a0a8611e27e551e3c9070fd054ff0c940784","original_commit_id":"25c7a0a8611e27e551e3c9070fd054ff0c940784","user":{"login":"hackmastera","id":845363,"avatar_url":"https://avatars.githubusercontent.com/u/845363?v=3","gravatar_id":"","url":"https://api.github.com/users/hackmastera","html_url":"https://github.com/hackmastera","followers_url":"https://api.github.com/users/hackmastera/followers","following_url":"https://api.github.com/users/hackmastera/following{/other_user}","gists_url":"https://api.github.com/users/hackmastera/gists{/gist_id}","starred_url":"https://api.github.com/users/hackmastera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackmastera/subscriptions","organizations_url":"https://api.github.com/users/hackmastera/orgs","repos_url":"https://api.github.com/users/hackmastera/repos","events_url":"https://api.github.com/users/hackmastera/events{/privacy}","received_events_url":"https://api.github.com/users/hackmastera/received_events","type":"User","site_admin":false},"body":"sure i'll leave out the 2nd arg and someone can add it back in in the future if there's another use case. happy to fix the camel case var in the method above while i'm in there.","created_at":"2016-01-04T14:34:26Z","updated_at":"2016-01-04T14:34:26Z","html_url":"https://github.com/projecthydra/sufia/pull/1492#discussion_r48735426","pull_request_url":"https://api.github.com/repos/projecthydra/sufia/pulls/1492","_links":{"self":{"href":"https://api.github.com/repos/projecthydra/sufia/pulls/comments/48735426"},"html":{"href":"https://github.com/projecthydra/sufia/pull/1492#discussion_r48735426"},"pull_request":{"href":"https://api.github.com/repos/projecthydra/sufia/pulls/1492"}}},"pull_request":{"url":"https://api.github.com/repos/projecthydra/sufia/pulls/1492","id":54265322,"html_url":"https://github.com/projecthydra/sufia/pull/1492","diff_url":"https://github.com/projecthydra/sufia/pull/1492.diff","patch_url":"https://github.com/projecthydra/sufia/pull/1492.patch","issue_url":"https://api.github.com/repos/projecthydra/sufia/issues/1492","number":1492,"state":"open","locked":false,"title":"Don't generate auto_link on a non-url rights statement, fixes project…","user":{"login":"hackmastera","id":845363,"avatar_url":"https://avatars.githubusercontent.com/u/845363?v=3","gravatar_id":"","url":"https://api.github.com/users/hackmastera","html_url":"https://github.com/hackmastera","followers_url":"https://api.github.com/users/hackmastera/followers","following_url":"https://api.github.com/users/hackmastera/following{/other_user}","gists_url":"https://api.github.com/users/hackmastera/gists{/gist_id}","starred_url":"https://api.github.com/users/hackmastera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackmastera/subscriptions","organizations_url":"https://api.github.com/users/hackmastera/orgs","repos_url":"https://api.github.com/users/hackmastera/repos","events_url":"https://api.github.com/users/hackmastera/events{/privacy}","received_events_url":"https://api.github.com/users/hackmastera/received_events","type":"User","site_admin":false},"body":"…hydra/sufia#1356","created_at":"2015-12-21T15:02:30Z","updated_at":"2016-01-04T14:34:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0add31e7e1b2ea98e558a8bba0d8c1a7336e1c08","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/projecthydra/sufia/pulls/1492/commits","review_comments_url":"https://api.github.com/repos/projecthydra/sufia/pulls/1492/comments","review_comment_url":"https://api.github.com/repos/projecthydra/sufia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projecthydra/sufia/issues/1492/comments","statuses_url":"https://api.github.com/repos/projecthydra/sufia/statuses/25c7a0a8611e27e551e3c9070fd054ff0c940784","head":{"label":"hackmastera:double-rights-reserved","ref":"double-rights-reserved","sha":"25c7a0a8611e27e551e3c9070fd054ff0c940784","user":{"login":"hackmastera","id":845363,"avatar_url":"https://avatars.githubusercontent.com/u/845363?v=3","gravatar_id":"","url":"https://api.github.com/users/hackmastera","html_url":"https://github.com/hackmastera","followers_url":"https://api.github.com/users/hackmastera/followers","following_url":"https://api.github.com/users/hackmastera/following{/other_user}","gists_url":"https://api.github.com/users/hackmastera/gists{/gist_id}","starred_url":"https://api.github.com/users/hackmastera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackmastera/subscriptions","organizations_url":"https://api.github.com/users/hackmastera/orgs","repos_url":"https://api.github.com/users/hackmastera/repos","events_url":"https://api.github.com/users/hackmastera/events{/privacy}","received_events_url":"https://api.github.com/users/hackmastera/received_events","type":"User","site_admin":false},"repo":{"id":34735847,"name":"sufia","full_name":"hackmastera/sufia","owner":{"login":"hackmastera","id":845363,"avatar_url":"https://avatars.githubusercontent.com/u/845363?v=3","gravatar_id":"","url":"https://api.github.com/users/hackmastera","html_url":"https://github.com/hackmastera","followers_url":"https://api.github.com/users/hackmastera/followers","following_url":"https://api.github.com/users/hackmastera/following{/other_user}","gists_url":"https://api.github.com/users/hackmastera/gists{/gist_id}","starred_url":"https://api.github.com/users/hackmastera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackmastera/subscriptions","organizations_url":"https://api.github.com/users/hackmastera/orgs","repos_url":"https://api.github.com/users/hackmastera/repos","events_url":"https://api.github.com/users/hackmastera/events{/privacy}","received_events_url":"https://api.github.com/users/hackmastera/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hackmastera/sufia","description":"Sufia is a Rails engine for creating a self-deposit institutional repository. A web application for ingest, curation, search, and display of digital assets. Powered by Hydra technologies (Rails, Hydra-head, Blacklight, Solr, Fedora Commons, etc.)","fork":true,"url":"https://api.github.com/repos/hackmastera/sufia","forks_url":"https://api.github.com/repos/hackmastera/sufia/forks","keys_url":"https://api.github.com/repos/hackmastera/sufia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hackmastera/sufia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hackmastera/sufia/teams","hooks_url":"https://api.github.com/repos/hackmastera/sufia/hooks","issue_events_url":"https://api.github.com/repos/hackmastera/sufia/issues/events{/number}","events_url":"https://api.github.com/repos/hackmastera/sufia/events","assignees_url":"https://api.github.com/repos/hackmastera/sufia/assignees{/user}","branches_url":"https://api.github.com/repos/hackmastera/sufia/branches{/branch}","tags_url":"https://api.github.com/repos/hackmastera/sufia/tags","blobs_url":"https://api.github.com/repos/hackmastera/sufia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hackmastera/sufia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hackmastera/sufia/git/refs{/sha}","trees_url":"https://api.github.com/repos/hackmastera/sufia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hackmastera/sufia/statuses/{sha}","languages_url":"https://api.github.com/repos/hackmastera/sufia/languages","stargazers_url":"https://api.github.com/repos/hackmastera/sufia/stargazers","contributors_url":"https://api.github.com/repos/hackmastera/sufia/contributors","subscribers_url":"https://api.github.com/repos/hackmastera/sufia/subscribers","subscription_url":"https://api.github.com/repos/hackmastera/sufia/subscription","commits_url":"https://api.github.com/repos/hackmastera/sufia/commits{/sha}","git_commits_url":"https://api.github.com/repos/hackmastera/sufia/git/commits{/sha}","comments_url":"https://api.github.com/repos/hackmastera/sufia/comments{/number}","issue_comment_url":"https://api.github.com/repos/hackmastera/sufia/issues/comments{/number}","contents_url":"https://api.github.com/repos/hackmastera/sufia/contents/{+path}","compare_url":"https://api.github.com/repos/hackmastera/sufia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hackmastera/sufia/merges","archive_url":"https://api.github.com/repos/hackmastera/sufia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hackmastera/sufia/downloads","issues_url":"https://api.github.com/repos/hackmastera/sufia/issues{/number}","pulls_url":"https://api.github.com/repos/hackmastera/sufia/pulls{/number}","milestones_url":"https://api.github.com/repos/hackmastera/sufia/milestones{/number}","notifications_url":"https://api.github.com/repos/hackmastera/sufia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hackmastera/sufia/labels{/name}","releases_url":"https://api.github.com/repos/hackmastera/sufia/releases{/id}","created_at":"2015-04-28T14:35:51Z","updated_at":"2015-04-28T14:35:53Z","pushed_at":"2015-12-22T17:41:29Z","git_url":"git://github.com/hackmastera/sufia.git","ssh_url":"git@github.com:hackmastera/sufia.git","clone_url":"https://github.com/hackmastera/sufia.git","svn_url":"https://github.com/hackmastera/sufia","homepage":"","size":52663,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"projecthydra:6.x-stable","ref":"6.x-stable","sha":"868b83e72b8a0001f9519836c0fcbb476895fd27","user":{"login":"projecthydra","id":109426,"avatar_url":"https://avatars.githubusercontent.com/u/109426?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra","html_url":"https://github.com/projecthydra","followers_url":"https://api.github.com/users/projecthydra/followers","following_url":"https://api.github.com/users/projecthydra/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra/subscriptions","organizations_url":"https://api.github.com/users/projecthydra/orgs","repos_url":"https://api.github.com/users/projecthydra/repos","events_url":"https://api.github.com/users/projecthydra/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra/received_events","type":"Organization","site_admin":false},"repo":{"id":7653178,"name":"sufia","full_name":"projecthydra/sufia","owner":{"login":"projecthydra","id":109426,"avatar_url":"https://avatars.githubusercontent.com/u/109426?v=3","gravatar_id":"","url":"https://api.github.com/users/projecthydra","html_url":"https://github.com/projecthydra","followers_url":"https://api.github.com/users/projecthydra/followers","following_url":"https://api.github.com/users/projecthydra/following{/other_user}","gists_url":"https://api.github.com/users/projecthydra/gists{/gist_id}","starred_url":"https://api.github.com/users/projecthydra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projecthydra/subscriptions","organizations_url":"https://api.github.com/users/projecthydra/orgs","repos_url":"https://api.github.com/users/projecthydra/repos","events_url":"https://api.github.com/users/projecthydra/events{/privacy}","received_events_url":"https://api.github.com/users/projecthydra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projecthydra/sufia","description":"Sufia is a Rails engine for creating a self-deposit institutional repository. A web application for ingest, curation, search, and display of digital assets. Powered by Hydra technologies (Rails, Hydra-head, Blacklight, Solr, Fedora Commons, etc.)","fork":false,"url":"https://api.github.com/repos/projecthydra/sufia","forks_url":"https://api.github.com/repos/projecthydra/sufia/forks","keys_url":"https://api.github.com/repos/projecthydra/sufia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projecthydra/sufia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projecthydra/sufia/teams","hooks_url":"https://api.github.com/repos/projecthydra/sufia/hooks","issue_events_url":"https://api.github.com/repos/projecthydra/sufia/issues/events{/number}","events_url":"https://api.github.com/repos/projecthydra/sufia/events","assignees_url":"https://api.github.com/repos/projecthydra/sufia/assignees{/user}","branches_url":"https://api.github.com/repos/projecthydra/sufia/branches{/branch}","tags_url":"https://api.github.com/repos/projecthydra/sufia/tags","blobs_url":"https://api.github.com/repos/projecthydra/sufia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projecthydra/sufia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projecthydra/sufia/git/refs{/sha}","trees_url":"https://api.github.com/repos/projecthydra/sufia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projecthydra/sufia/statuses/{sha}","languages_url":"https://api.github.com/repos/projecthydra/sufia/languages","stargazers_url":"https://api.github.com/repos/projecthydra/sufia/stargazers","contributors_url":"https://api.github.com/repos/projecthydra/sufia/contributors","subscribers_url":"https://api.github.com/repos/projecthydra/sufia/subscribers","subscription_url":"https://api.github.com/repos/projecthydra/sufia/subscription","commits_url":"https://api.github.com/repos/projecthydra/sufia/commits{/sha}","git_commits_url":"https://api.github.com/repos/projecthydra/sufia/git/commits{/sha}","comments_url":"https://api.github.com/repos/projecthydra/sufia/comments{/number}","issue_comment_url":"https://api.github.com/repos/projecthydra/sufia/issues/comments{/number}","contents_url":"https://api.github.com/repos/projecthydra/sufia/contents/{+path}","compare_url":"https://api.github.com/repos/projecthydra/sufia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projecthydra/sufia/merges","archive_url":"https://api.github.com/repos/projecthydra/sufia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projecthydra/sufia/downloads","issues_url":"https://api.github.com/repos/projecthydra/sufia/issues{/number}","pulls_url":"https://api.github.com/repos/projecthydra/sufia/pulls{/number}","milestones_url":"https://api.github.com/repos/projecthydra/sufia/milestones{/number}","notifications_url":"https://api.github.com/repos/projecthydra/sufia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projecthydra/sufia/labels{/name}","releases_url":"https://api.github.com/repos/projecthydra/sufia/releases{/id}","created_at":"2013-01-16T20:23:18Z","updated_at":"2015-12-27T01:42:08Z","pushed_at":"2015-12-28T18:22:12Z","git_url":"git://github.com/projecthydra/sufia.git","ssh_url":"git@github.com:projecthydra/sufia.git","clone_url":"https://github.com/projecthydra/sufia.git","svn_url":"https://github.com/projecthydra/sufia","homepage":"","size":54465,"stargazers_count":84,"watchers_count":84,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":69,"mirror_url":null,"open_issues_count":53,"forks":69,"open_issues":53,"watchers":84,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projecthydra/sufia/pulls/1492"},"html":{"href":"https://github.com/projecthydra/sufia/pull/1492"},"issue":{"href":"https://api.github.com/repos/projecthydra/sufia/issues/1492"},"comments":{"href":"https://api.github.com/repos/projecthydra/sufia/issues/1492/comments"},"review_comments":{"href":"https://api.github.com/repos/projecthydra/sufia/pulls/1492/comments"},"review_comment":{"href":"https://api.github.com/repos/projecthydra/sufia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projecthydra/sufia/pulls/1492/commits"},"statuses":{"href":"https://api.github.com/repos/projecthydra/sufia/statuses/25c7a0a8611e27e551e3c9070fd054ff0c940784"}}}}