1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-24 15:16:26 +09:00

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}',
action: 'share',
method: 'GET',
enctype: 'application/x-www-form-urlencoded',
params: {
title: 'title',
text: 'text',