Pump rails version, fix tests

This commit is contained in:
Alex Sherman 2020-01-29 14:51:00 +05:00
parent 1a59487724
commit af57711dc0
13 changed files with 110 additions and 61 deletions

View file

@ -5,7 +5,7 @@ Rails.application.configure do
config.assets.version = '1.0'
# Add additional assets to the asset load path
config.assets.paths << Rails.root.join('vendor', 'assets', 'fonts')
config.assets.paths << Rails.root.join('vendor', 'assets', 'fonts', 'node_modules')
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
@ -14,4 +14,5 @@ Rails.application.configure do
config.assets.precompile += %w(admin-manifest.css admin-manifest.js)
config.assets.precompile += %w(registrar-manifest.css registrar-manifest.js)
config.assets.precompile += %w(registrant-manifest.css registrant-manifest.js)
config.assets.precompile += %w( admin.js admin.css )
end

View file

@ -0,0 +1,14 @@
# Be sure to restart your server when you modify this file.
#
# This file contains migration options to ease your Rails 5.1 upgrade.
#
# Once upgraded flip defaults one by one to migrate to the new default.
#
# Read the Guide for Upgrading Ruby on Rails for more info on each option.
# Make `form_with` generate non-remote forms.
Rails.application.config.action_view.form_with_generates_remote_forms = false
# Unknown asset fallback will return the path passed in when the given
# asset is not present in the asset pipeline.
# Rails.application.config.assets.unknown_asset_fallback = false