Add method and enctype to manifest (#11767)

This commit is contained in:
Yamagishi Kazutoshi 2019-09-05 22:51:51 +09:00 committed by Eugen Rochko
parent e265b8887d
commit cf643d0060

View File

@ -55,6 +55,8 @@ class ManifestSerializer < ActiveModel::Serializer
{ {
url_template: 'share?title={title}&text={text}&url={url}', url_template: 'share?title={title}&text={text}&url={url}',
action: 'share', action: 'share',
method: 'GET',
enctype: 'application/x-www-form-urlencoded',
params: { params: {
title: 'title', title: 'title',
text: 'text', text: 'text',