Sha256: 04f3196deb78e281b6b4505b545e1a8b552eb81ebd83732a98117bb3db007411
Contents?: true
Size: 475 Bytes
Versions: 11
Compression:
Stored size: 475 Bytes
Contents
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
Version data entries
11 entries across 11 versions & 1 rubygems