merge in master

This commit is contained in:
Rimian Perkins 2017-04-24 13:07:10 +10:00
commit 7a6c9b83b7
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ after_initialize do
header_script = '<script src="https://js.stripe.com/v3/"></script>' 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 = Theme.find_or_create_by(name: 'Discourse Donations Header', hidden: false, user_id: -1)
discourse_donations_theme.set_field('common', 'head_tag', header_script) discourse_donations_theme.set_field('common', 'head_tag', header_script)
discourse_donations_theme.save
end end
Discourse::Application.routes.prepend do Discourse::Application.routes.prepend do