view_component/app/views
Simon Fish 62e0960de0
Make accommodations for component-local config
Introduces a `ViewComponent::GlobalConfig` object that will be the source for global configuration going forward. Ideally in the future, this will only house options that universally affect ViewComponent regardless of whether components are sourced from an engine or not (e.g. enabling the capture compatibility patch), and more options can move to a component-local config. For these options, classes inheriting from `ViewComponent::Base` will want to override configuration themselves.

This was initially written to support extracting the incoming strict_helpers_enabled? option, but applies to everything.
2024-10-21 11:31:19 +01:00
..
test_mailer Check for `#request` on the controller before attempting to call it (#948) 2021-06-07 18:56:33 +00:00
view_components Make accommodations for component-local config 2024-10-21 11:31:19 +01:00