mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 07:16:40 +00:00
Fixed issue with precomilation
This commit is contained in:
parent
353be669e4
commit
925b754233
@ -5,7 +5,14 @@ module Rswag
|
|||||||
|
|
||||||
initializer 'rswag-ui.initialize' do |app|
|
initializer 'rswag-ui.initialize' do |app|
|
||||||
if app.config.respond_to?(:assets)
|
if app.config.respond_to?(:assets)
|
||||||
app.config.assets.precompile += [ 'swagger-ui/*' ]
|
app.config.assets.precompile += [
|
||||||
|
'swagger-ui/css/*',
|
||||||
|
'swagger-ui/fonts/*',
|
||||||
|
'swagger-ui/images/*',
|
||||||
|
'swagger-ui/lang/*',
|
||||||
|
'swagger-ui/lib/*',
|
||||||
|
'swagger-ui/swagger-ui.min.js'
|
||||||
|
]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user