gearheads
/
mastodon
Archived
2
0
Fork 0

Add method and enctype to manifest (#11767)

gh/stable
Yamagishi Kazutoshi 2019-09-05 22:51:51 +09:00 committed by Eugen Rochko
parent e265b8887d
commit cf643d0060
1 changed files with 2 additions and 0 deletions

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',