Skip to content
Snippets Groups Projects
Commit b253d3e0 authored by gol-cha's avatar gol-cha Committed by Eugen Rochko
Browse files

Upgrade new Web Share Target API (#9963)

* Update manifest.json for new Web Share Target API.

* fix code formatting
parent 3de63b3c
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment