mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-23 06:16:42 +00:00
Merge pull request #69 from lazebny/rswag-ui-issue-with-precompilation
Fixed issue with precomilation
This commit is contained in:
commit
215aaddb7d
@ -5,7 +5,14 @@ module Rswag
|
||||
|
||||
initializer 'rswag-ui.initialize' do |app|
|
||||
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user