doh! typo

This commit is contained in:
Rimian Perkins 2017-05-03 10:27:38 +10:00
parent 22d184e54f
commit 9e7809137a
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ after_initialize do
# Must be placed on every page for fraud protection.
header_script = '<script src="https://js.stripe.com/v3/"></script>'
discourse_donations_theme = Theme.find_or_create_by(name: 'Discourse Donations Header', hidden: false, user_id: -1)
discourse_donations_theme.set_field(target: 'common', name:, 'head_tag', value: header_script)
discourse_donations_theme.set_field(target: 'common', name: 'head_tag', value: header_script)
discourse_donations_theme.save
end