Sha256: 715dc1cceb953ad6fa95709390981b427ac78e68751f7ace7fdb902f6ab90664
Contents?: true
Size: 557 Bytes
Versions: 7
Compression:
Stored size: 557 Bytes
Contents
module Swagger class Engine < ::Rails::Engine initializer :assets do |config| Rails.application.config.assets.precompile += %w{ swagger-ui.js } Rails.application.config.assets.precompile += %w{ swagger-oauth.js } Rails.application.config.assets.precompile += %w{ swagger-ui.css } Rails.application.config.assets.precompile += %w{ swagger-ui/reset.css } Rails.application.config.assets.precompile += %w{ swagger-ui/screen.css } Rails.application.config.assets.paths << root.join("app", "assets") end end end
Version data entries
7 entries across 7 versions & 2 rubygems