scinote-web/config/initializers/repositories.rb
2018-05-16 10:23:36 +02:00

9 lines
214 B
Ruby

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