Turn bess into an engine so we can share generators

This commit is contained in:
Eric 2020-06-23 17:23:08 -05:00 committed by Eric Schultz
parent 3e2c6980c5
commit 6dfaf27f2e
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
# License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE
require "houdini/railtie"
require "houdini/engine"
module Houdini
extend ActiveSupport::Autoload

View file

@ -3,7 +3,7 @@
# License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE
module Houdini
class Railtie < ::Rails::Railtie
class Engine < ::Rails::Engine
config.houdini = ActiveSupport::OrderedOptions.new
config.houdini.core_classes = {supporter: 'Supporter', nonprofit: 'Nonprofit'}