Skip to content

Commit

Permalink
Configure column permitted classes
Browse files Browse the repository at this point in the history
Resolves #370
  • Loading branch information
jvendetti committed Dec 10, 2024
1 parent 1ec2c46 commit a3b33f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ module BioportalWebUi
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 7.0
config.active_record.yaml_column_permitted_classes = [
ActionController::Parameters,
HashWithIndifferentAccess
]

# permitted locales available for the application
config.i18n.available_locales = [:en, :fr, :it, :de]
Expand Down

0 comments on commit a3b33f3

Please sign in to comment.