c5a9d73ad8
Adds rel="noopener noreferrer" to all links with target="_blank" See merge request !2071
3 lines
225 B
Text
3 lines
225 B
Text
- if environment.external_url && can?(current_user, :read_environment, environment)
|
|
= link_to environment.external_url, target: '_blank', rel: 'noopener noreferrer', class: 'btn external-url' do
|
|
= icon('external-link')
|