scinote-web/config/initializers/repositories.rb

10 lines
214 B
Ruby
Raw Normal View History

Rails.application.configure do
# Maximum number of repositories per team allowed
config.x.repositories_limit =
if ENV['REPOSITORIES_LIMIT']
ENV['REPOSITORIES_LIMIT'].to_i
else
6
end
end