about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2019-09-05 22:51:51 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-09-05 15:51:51 +0200
commitcf643d0060590948f8fb97ab9bd2045f3649b056 (patch)
tree5c571460285e5b14c9548582457bf4c974c638ee
parente265b8887dbd883bc7ca04832dc67ffe46966889 (diff)
Add method and enctype to manifest (#11767)
-rw-r--r--app/serializers/manifest_serializer.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/serializers/manifest_serializer.rb b/app/serializers/manifest_serializer.rb
index 28127437d..21ec0d4be 100644
--- a/app/serializers/manifest_serializer.rb
+++ b/app/serializers/manifest_serializer.rb
@@ -55,6 +55,8 @@ class ManifestSerializer < ActiveModel::Serializer
     {
       url_template: 'share?title={title}&text={text}&url={url}',
       action: 'share',
+      method: 'GET',
+      enctype: 'application/x-www-form-urlencoded',
       params: {
         title: 'title',
         text: 'text',