forked from External/greenlight
Fixed issue with links (#934)
This commit is contained in:
parent
5949a6e243
commit
3f8ffa61d7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue