# This will prevent any data transmitted by HyperOperation from appearing in logs
config.filter_parameters << :hyperstack_secured_json
# Add the hyperstack directories
config.eager_load_paths += %W(#{config.root}/app/hyperstack/models)
config.eager_load_paths += %W(#{config.root}/app/hyperstack/models/concerns)
config.eager_load_paths += %W(#{config.root}/app/hyperstack/operations)
config.eager_load_paths += %W(#{config.root}/app/hyperstack/shared)
# But remove the outer hyperstack directory so rails doesn't try to load its
delete_first config.eager_load_paths, "#{config.root}/app/hyperstack"