2017-01-30 12:35:04 +11:00
|
|
|
# name: choice-plugin
|
|
|
|
|
# about: Integrating CHOICE with Discourse
|
2017-01-31 13:28:41 +11:00
|
|
|
# version: 0.0.2
|
2017-01-30 12:35:04 +11:00
|
|
|
# authors: Rimian Perkins
|
2017-01-31 13:28:41 +11:00
|
|
|
|
2017-02-01 11:44:55 +11:00
|
|
|
gem 'stripe', '1.58.0'
|
2017-02-01 11:35:21 +11:00
|
|
|
|
2017-01-31 13:28:41 +11:00
|
|
|
module ::Choice
|
|
|
|
|
class Engine < ::Rails::Engine
|
|
|
|
|
engine_name 'choice'
|
|
|
|
|
isolate_namespace Choice
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
after_initialize do
|
|
|
|
|
Discourse::Application.routes.prepend do
|
|
|
|
|
mount ::Choice::Engine, at: '/choice'
|
|
|
|
|
end
|
|
|
|
|
end
|