lib/bot/engine.rb in bot-0.0.34 vs lib/bot/engine.rb in bot-0.0.35

- old
+ new

@@ -1,8 +1,13 @@ module Bot class Engine < ::Rails::Engine isolate_namespace Bot + # Add a load path for this specific Engine + initializer "responders.helpers.autoload", before: :set_autoload_paths do |app| + app.config.autoload_paths << File.join(app.config.root, "app", "bot", "helpers") + end + initializer 'bot.routes', after: 'action_dispatch.prepare_dispatcher' do |app| ActionDispatch::Routing::Mapper.send :include, ::Bot::RouteExtensions end end end