22 lines
566 B
Ruby
Raw Normal View History

2017-02-24 12:42:59 +11:00
# name: discourse-donations
# about: Integrating Discourse with Stripe for donations
# version: 1.11.1
2017-02-24 12:42:59 +11:00
# url: https://github.com/choiceaustralia/discourse-donations
2017-02-23 10:31:30 +11:00
# authors: Rimian Perkins
2017-01-31 13:28:41 +11:00
2017-05-01 10:48:40 +10:00
gem 'stripe', '2.8.0'
2017-02-24 13:23:11 +11:00
load File.expand_path('../lib/discourse_donations/engine.rb', __FILE__)
register_asset "stylesheets/discourse-donations.css"
2017-02-28 13:36:41 +11:00
enabled_site_setting :discourse_donations_enabled
after_initialize do
2017-05-04 17:23:41 +10:00
load File.expand_path('../app/jobs/jobs.rb', __FILE__)
end
2017-02-07 13:56:22 +11:00
Discourse::Application.routes.prepend do
2017-02-24 13:23:11 +11:00
mount ::DiscourseDonations::Engine, at: '/'
2017-01-31 13:28:41 +11:00
end