Turn bess into an engine so we can share generators
This commit is contained in:
parent
3e2c6980c5
commit
6dfaf27f2e
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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'}
|
Loading…
Reference in a new issue