Change OpenGraph description on sign-up page to reflect invite (#11744)

This commit is contained in:
Eugen Rochko 2019-09-03 04:56:54 +02:00 committed by GitHub
parent 34adc8784a
commit 3221f998dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 3 deletions

View file

@ -2,7 +2,7 @@
= t('auth.register')
- content_for :header_tags do
= render partial: 'shared/og'
= render partial: 'shared/og', locals: { description: description_for_sign_up }
= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
= render 'shared/error_messages', object: resource