Skip to content

Commit

Permalink
change validator place
Browse files Browse the repository at this point in the history
  • Loading branch information
qblanc committed Mar 14, 2024
1 parent 0b14492 commit a41de9b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 0 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 7.1

config.autoload_paths += Dir[Rails.root.join("app/models/concerns/validators")]
# Settings in config/environments/* take precedence over those specified here.
# Application configuration can go into files in config/initializers
# -- all .rb files in that directory are automatically loaded after loading
Expand Down

0 comments on commit a41de9b

Please sign in to comment.