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:
Eugen Rochko
2017-08-14 04:53:31 +02:00
committed by GitHub
parent 96e9ed13de
commit 3c6503038e
12 changed files with 167 additions and 3 deletions

View 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) } }