about summary refs log tree commit diff
path: root/app/views/remote_interaction
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-03-11 20:47:50 +0100
committerGitHub <noreply@github.com>2019-03-11 20:47:50 +0100
commitf5eeac01047874269bbb2910bab4b32f739c616d (patch)
tree258078c548fb7f79a9ea206255117820b794ca89 /app/views/remote_interaction
parentc8122e84cc140f49d7bce0540b6e389781c0fdaf (diff)
Fix remote interaction dialogs being indexed by search engines (#10240)
Fix #10116
Diffstat (limited to 'app/views/remote_interaction')
-rw-r--r--app/views/remote_interaction/new.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/remote_interaction/new.html.haml b/app/views/remote_interaction/new.html.haml
index a0b106814..b2b7826c4 100644
--- a/app/views/remote_interaction/new.html.haml
+++ b/app/views/remote_interaction/new.html.haml
@@ -1,3 +1,6 @@
+- content_for :header_tags do
+  %meta{ name: 'robots', content: 'noindex' }/
+
 .form-container
   .follow-prompt
     %h2= t("remote_interaction.#{@interaction_type}.prompt")