parent
494d98c3a8
commit
98c9bc52c0
@ -0,0 +1,12 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
Rails.application.configure do
|
||||
config.x.search_scope = case
|
||||
when ENV['SEARCH_SCOPE'] == 'public'
|
||||
:public
|
||||
when ENV['SEARCH_SCOPE'] == 'public_or_unlisted'
|
||||
:public_or_unlisted
|
||||
else
|
||||
:classic
|
||||
end
|
||||
end
|
Loading…
Reference in new issue