Sha256: 5a0e7bf5d86b6940b1dd2e76c3cd93d2aca3c35e3d5fd96407706bb5aa8532bb
Contents?: true
Size: 902 Bytes
Versions: 4
Compression:
Stored size: 902 Bytes
Contents
require 'sassc/rails' module SwaggerUiEngineRails7 class Engine < ::Rails::Engine isolate_namespace SwaggerUiEngineRails7 config.to_prepare do Rails.application.config.assets.precompile += %w[ swagger_ui_engine/lib/typography.css swagger_ui_engine/lib/reset.css swagger_ui_engine/lib/screen.css swagger_ui_engine/lib/print.css swagger_ui_engine/custom.css swagger_ui_engine/print.css swagger_ui_engine/logo_small.png swagger_ui_engine/favicon-32x32.png swagger_ui_engine/favicon-16x16.png swagger_ui_engine/lang/*.js swagger_ui_engine/DroidSans-Bold.ttf swagger_ui_engine/DroidSans.ttf swagger_ui_engine/application.js swagger_ui_engine/application.css ] Rails.application.config.assets.paths << Rails.root.join('vendor', 'assets', 'fonts') end end end
Version data entries
4 entries across 4 versions & 1 rubygems