Fixed issue with links (#934)

This commit is contained in:
Ahmad Farhat 2020-01-24 15:09:56 -05:00 committed by farhatahmad
parent 5949a6e243
commit 3f8ffa61d7
1 changed files with 1 additions and 1 deletions

View File

@ -145,5 +145,5 @@ Rails.application.configure do
config.active_record.dump_schema_after_migration = false
# Set the relative url root for deployment to a subdirectory.
config.relative_url_root = ENV['RELATIVE_URL_ROOT'].present? ? ENV['RELATIVE_URL_ROOT'] : "/b"
config.relative_url_root = ENV['RELATIVE_URL_ROOT'] || "/b" if ENV['RELATIVE_URL_ROOT'] != "/"
end