enable settings
This commit is contained in:
parent
cc7564af99
commit
709d52629d
|
@ -1,6 +1,6 @@
|
||||||
# name: discourse-donations
|
# name: discourse-donations
|
||||||
# about: Integrating Discourse with Stripe for donations
|
# about: Integrating Discourse with Stripe for donations
|
||||||
# version: 1.6.7
|
# version: 1.6.8
|
||||||
# url: https://github.com/choiceaustralia/discourse-donations
|
# url: https://github.com/choiceaustralia/discourse-donations
|
||||||
# authors: Rimian Perkins
|
# authors: Rimian Perkins
|
||||||
|
|
||||||
|
@ -8,6 +8,8 @@ gem 'stripe', '2.0.1'
|
||||||
|
|
||||||
load File.expand_path('../lib/discourse_donations/engine.rb', __FILE__)
|
load File.expand_path('../lib/discourse_donations/engine.rb', __FILE__)
|
||||||
|
|
||||||
|
enabled_site_setting :discourse_donations_enabled
|
||||||
|
|
||||||
after_initialize do
|
after_initialize do
|
||||||
header_script = '<script src="https://js.stripe.com/v3/"></script>'
|
header_script = '<script src="https://js.stripe.com/v3/"></script>'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue