This website works better with JavaScript.
Home
Explore
Help
Sign In
nekobus
/
mastodon_neko
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Upgrade new Web Share Target API (
#9963
)
* Update manifest.json for new Web Share Target API. * fix code formatting
master
gol-cha
5 years ago
committed by
Eugen Rochko
parent
3de63b3c35
commit
b253d3e0c2
1 changed files
with
9 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+9
-1
app/serializers/manifest_serializer.rb
+ 9
- 1
app/serializers/manifest_serializer.rb
View File
@ -52,6 +52,14 @@ class ManifestSerializer < ActiveModel::Serializer
end
def
share_target
{
url_template
:
'share?title={title}&text={text}&url={url}'
}
{
url_template
:
'share?title={title}&text={text}&url={url}'
,
action
:
'share'
,
params
:
{
title
:
'title'
,
text
:
'text'
,
url
:
'url'
,
}
,
}
end
end
Write
Preview
Loading…
Cancel
Save