Skip to content

Commit

Permalink
Update query_builder.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
netikular authored Apr 10, 2024
1 parent adab815 commit d02c7c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dato_cms_graphql/bridgetown/query_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def build
end

def locale_path(locale)
if locale == I18n.default_locale && !Bridgetown.configuration.prefix_default_locale
if locale == I18n.default_locale && !::Bridgetown.configuration.prefix_default_locale
""
else
"#{locale}/"
Expand Down

0 comments on commit d02c7c3

Please sign in to comment.