Add rel=noopener to links with target=_blank
http://support.detectify.com/customer/portal/articles/2792257-external-links-using-target-_blank-
This commit is contained in:
parent
f207641b4e
commit
a8ce11a4d2
38 changed files with 65 additions and 65 deletions
|
@ -33,7 +33,7 @@ class WebhookController < ActionController::Base
|
|||
private
|
||||
|
||||
def link_to_manager(model, url)
|
||||
"<a target='_blank' href='#{url}'>#{model.model_name.human}##{model.id}</a>"
|
||||
"<a target='_blank' href='#{url}' rel='noopener'>#{model.model_name.human}##{model.id}</a>"
|
||||
end
|
||||
|
||||
def verify_signature!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue