Add protocol handler. Handle follow intents (#4511)
* Add protocol handler. Handle follow intents * Add share intent * Improve code in intents controller * Adjust share form CSS
This commit is contained in:
parent
96e9ed13de
commit
3c6503038e
12 changed files with 167 additions and 3 deletions
5
app/views/shares/show.html.haml
Normal file
5
app/views/shares/show.html.haml
Normal file
|
@ -0,0 +1,5 @@
|
|||
- content_for :header_tags do
|
||||
%script#initial-state{ type: 'application/json' }!= json_escape(@initial_state_json)
|
||||
= javascript_pack_tag 'share', integrity: true, crossorigin: 'anonymous'
|
||||
|
||||
#mastodon-compose{ data: { props: Oj.dump(default_props) } }
|
Loading…
Add table
Add a link
Reference in a new issue