mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-02-17 00:45:08 +00:00
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…
x
Reference in New Issue
Block a user