Sha256: 66f08ec265fd4335a8fb0c5ecd83e6f2583f7f680f4282c56c3c0411162cad4b
Contents?: true
Size: 784 Bytes
Versions: 149
Compression:
Stored size: 784 Bytes
Contents
require 'rails/all' require 'zuora_connect' require 'apartment' require 'httparty' require 'zuora_api' module ZuoraConnect class Engine < ::Rails::Engine isolate_namespace ZuoraConnect initializer "connect", before: :load_config_initializers do |app| Rails.application.routes.prepend do mount ZuoraConnect::Engine, at: "/connect" end end initializer :append_migrations do |app| unless app.root.to_s.match root.to_s config.paths["db/migrate"].expanded.each do |expanded_path| app.config.paths["db/migrate"] << expanded_path end end end initializer "connect.helpers" do ActiveSupport.on_load(:action_controller) do include ZuoraConnect::Controllers::Helpers end end end end
Version data entries
149 entries across 149 versions & 2 rubygems