forked from External/greenlight
Updated rubocop and fixed issues (#490)
This commit is contained in:
committed by
Jesus Federico
parent
bc57caa806
commit
a0c99dde47
@ -101,6 +101,6 @@ module Greenlight
|
||||
config.room_features = ENV['ROOM_FEATURES'] || ""
|
||||
|
||||
# The maximum number of rooms included in one bbbapi call
|
||||
config.pagination_number = ENV['PAGINATION_NUMBER'].to_i == 0 ? 25 : ENV['PAGINATION_NUMBER'].to_i
|
||||
config.pagination_number = ENV['PAGINATION_NUMBER'].to_i.zero? ? 25 : ENV['PAGINATION_NUMBER'].to_i
|
||||
end
|
||||
end
|
||||
|
@ -113,7 +113,5 @@ Rails.application.configure do
|
||||
config.active_record.dump_schema_after_migration = false
|
||||
|
||||
# Set the relative url root for deployment to a subdirectory.
|
||||
if ENV['RELATIVE_URL_ROOT'] != "/"
|
||||
config.relative_url_root = ENV['RELATIVE_URL_ROOT'] || "/b"
|
||||
end
|
||||
config.relative_url_root = ENV['RELATIVE_URL_ROOT'] || "/b" if ENV['RELATIVE_URL_ROOT'] != "/"
|
||||
end
|
||||
|
Reference in New Issue
Block a user