discourse-subscriptions/plugin.rb

16 lines
444 B
Ruby
Raw Normal View History

2019-08-27 06:04:02 -04:00
# frozen_string_literal: true
# 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-30 21:28:41 -05:00
enabled_site_setting :discourse_patrons_enabled
load File.expand_path('../lib/discourse_patrons/engine.rb', __FILE__)
Discourse::Application.routes.append do
mount ::DiscoursePatrons::Engine, at: '/patrons'
end