Sha256: 21f7a3f4665ba1aec032465f40de2b81c24f7aafbeb703a84a02a764624e7269

Contents?: true

Size: 288 Bytes

Versions: 8

Compression:

Stored size: 288 Bytes

Contents

module Rswag
  module Ui
    class Engine < ::Rails::Engine
      isolate_namespace Rswag::Ui

      initializer 'rswag-ui.initialize' do |app|
        if app.config.respond_to?(:assets)
          app.config.assets.precompile += [ 'swagger-ui/*' ]
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rswag-ui-1.3.0 lib/rswag/ui/engine.rb
rswag-ui-1.2.1 lib/rswag/ui/engine.rb
rswag-ui-1.2.0 lib/rswag/ui/engine.rb
rswag-ui-1.1.0 lib/rswag/ui/engine.rb
rswag-ui-1.0.3 lib/rswag/ui/engine.rb
rswag-ui-1.0.2 lib/rswag/ui/engine.rb
rswag-ui-1.0.1 lib/rswag/ui/engine.rb
rswag-ui-1.0.0 lib/rswag/ui/engine.rb