Skip to content

Commit

Permalink
replace the getters argument to show languages from :show_all_languag…
Browse files Browse the repository at this point in the history
…es to :show_languages: true
  • Loading branch information
syphax-bouazzouni committed Jul 14, 2023
1 parent efd0436 commit e26009a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/goo/base/settings/settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def read_only(attributes)
end

def show_all_languages?(args)
args.include?(:show_with_language)
args.first.is_a?(Hash) && args.first.keys.include?(:show_languages) && args.first[:show_languages]
end

def not_show_all_languages?(values, args)
Expand Down

0 comments on commit e26009a

Please sign in to comment.