Sha256: aff4a68d63d81e34cb5411833374a69602b49b3692fbc765ec8959619554fe37

Contents?: true

Size: 532 Bytes

Versions: 8

Compression:

Stored size: 532 Bytes

Contents

require "api-pagination"
require "kaminari"
require "typhoeus"
require "sidekiq"
require "asyncapi/server/rails_ext/controller"
require "active_model/serializer"

module Asyncapi
  module Server
    class Engine < ::Rails::Engine
      isolate_namespace Asyncapi::Server
      engine_name "asyncapi_server"

      config.to_prepare do
        ::ApplicationController.send :include, RailsExt::Controller

        Engine.routes.default_url_options =
          Rails.application.routes.default_url_options
      end

    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
asyncapi-server-1.3.2 lib/asyncapi/server/engine.rb
asyncapi-server-1.3.0 lib/asyncapi/server/engine.rb
asyncapi-server-1.2.0 lib/asyncapi/server/engine.rb
asyncapi-server-1.1.3 lib/asyncapi/server/engine.rb
asyncapi-server-1.1.2 lib/asyncapi/server/engine.rb
asyncapi-server-1.1.1 lib/asyncapi/server/engine.rb
asyncapi-server-1.1.0 lib/asyncapi/server/engine.rb
asyncapi-server-1.0.0 lib/asyncapi/server/engine.rb