2019-08-27 20:04:02 +10:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2019-09-11 13:19:07 +10:00
|
|
|
# name: discourse-patrons
|
|
|
|
|
# about: Integrates Stripe into Discourse to allow visitors to make payments
|
|
|
|
|
# version: 1.0.0
|
|
|
|
|
# url: https://github.com/rimian/discourse-patrons
|
|
|
|
|
# authors: Rimian Perkins
|
2017-01-31 13:28:41 +11:00
|
|
|
|
2019-09-11 13:19:07 +10:00
|
|
|
enabled_site_setting :discourse_patrons_enabled
|
2017-02-01 11:35:21 +11:00
|
|
|
|
2019-09-11 13:19:07 +10:00
|
|
|
load File.expand_path('../lib/discourse_patrons/engine.rb', __FILE__)
|
2017-10-09 08:39:21 +01:00
|
|
|
|
2019-09-11 13:19:07 +10:00
|
|
|
Discourse::Application.routes.append do
|
|
|
|
|
mount ::DiscoursePatrons::Engine, at: '/patrons'
|
2017-02-17 13:15:32 +11:00
|
|
|
end
|