R
R
Roman Volkov2014-12-21 22:23:16
Ruby on Rails
Roman Volkov, 2014-12-21 22:23:16

How to include a font in ruby ​​on rails?

How to include third party font on ruby ​​on rails? Tried to throw in assets / fonts - did not help

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Osher, 2014-12-21
@white_wolf_17

I throw them in public .. And give them directly to nginx .

V
vsuhachev, 2014-12-22
@vsuhachev

Add to config/application.rb

config.assets.paths << Rails.root.join('app', 'assets', 'fonts')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question