Signed-off-by: Adrian Hinz <ahinz@voicetelecom.pl>
This commit is contained in:
parent
4c2436b586
commit
e1a9b8bcd4
|
|
@ -13,7 +13,10 @@ module InvoiceKeeper
|
|||
# -- all .rb files in that directory are automatically loaded.
|
||||
config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}').to_s]
|
||||
config.i18n.default_locale = :pl
|
||||
config.action_dispatch.default_headers['X-Frame-Options'] = "ALLOW-FROM lvh.me"
|
||||
#config.action_dispatch.default_headers['X-Frame-Options'] = "ALLOW-FROM lvh.me"
|
||||
config.action_dispatch.default_headers = {
|
||||
'X-Frame-Options' => 'ALLOW-FROM http://lvh.me'
|
||||
}
|
||||
config.assets.paths << Rails.root.join('app', 'assets', 'fonts')
|
||||
config.assets.precompile += %w( .svg .eot .woff .ttf .otf .woff2 )
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue