Skip to content

Commit

Permalink
Disable scopes with ENV variable
Browse files Browse the repository at this point in the history
  • Loading branch information
fblupi committed Dec 13, 2023
1 parent 4825e52 commit 272f015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/decidim/centers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module Centers

# if false, it won't ask the user for the scope
config_accessor :scopes_enabled do
true
Decidim::Env.new("DECIDIM_CENTERS_SCOPES_ENABLED", true).default_or_present_if_exists
end
end
end

0 comments on commit 272f015

Please sign in to comment.