Merge pull request #4 from chrisbeach/stripe-injection
Add stripe injection to <head> in plugin.rb
This commit is contained in:
commit
5c281cf9ef
|
@ -12,6 +12,10 @@ register_asset "stylesheets/discourse-donations.css"
|
|||
|
||||
enabled_site_setting :discourse_donations_enabled
|
||||
|
||||
register_html_builder('server:before-head-close') do
|
||||
"<script src='https://js.stripe.com/v3/'></script>"
|
||||
end
|
||||
|
||||
after_initialize do
|
||||
load File.expand_path('../app/jobs/jobs.rb', __FILE__)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue