Migrate RailsAdmin assets to Shakapacker
Resolves an issue with a strict CSP disabling inline `data` images. With Shakapacker and our current webpack config, we extract inline `data` images to dedicated files, thus resolving the issue.
This commit is contained in:

committed by
Sebastian Serth

parent
092487344a
commit
fea8b5d6f6
@ -1,7 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
RailsAdmin.config do |config|
|
||||
config.asset_source = :sprockets
|
||||
config.asset_source = :webpacker
|
||||
### Popular gems integration
|
||||
|
||||
## == Devise ==
|
||||
|
Reference in New Issue
Block a user