mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 00:33:36 +02:00
Added fonts precompile
This commit is contained in:
parent
f841d342b5
commit
f062cb5f31
1 changed files with 6 additions and 0 deletions
|
@ -33,6 +33,12 @@ module Registry
|
|||
# Load all model subdirs
|
||||
config.autoload_paths += Dir[Rails.root.join('app', 'models', '**/')]
|
||||
|
||||
# Add the fonts path
|
||||
config.assets.paths << Rails.root.join('vendor', 'assets', 'fonts')
|
||||
|
||||
# Precompile additional assets
|
||||
config.assets.precompile += %w(*.svg *.eot *.woff *.ttf)
|
||||
|
||||
# Active Record used to suppresses errors raised within
|
||||
# `after_rollback`/`after_commit` callbacks and only printed them to the logs.
|
||||
# In the next version, these errors will no longer be suppressed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue