Module: Authorio::TagHelper
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/helpers/authorio/tag_helper.rb
Overview
These helpers are provided to the main application
Instance Method Summary collapse
Instance Method Details
#indieauth_tag ⇒ Object
12 13 14 15 |
# File 'app/helpers/authorio/tag_helper.rb', line 12 def indieauth_tag tag(:link, rel: 'authorization_endpoint', href: URI.join(main_app.root_url, Authorio.)) << tag(:link, rel: 'token_endpoint', href: URI.join(main_app.root_url, Authorio.token_path)) end |