merge in master
This commit is contained in:
commit
7a6c9b83b7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue