Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrap use of
helper_method
in respond_to?
This is considered the "safe" way to invoke `helper_method` in Rails engines, as it is not available in some contexts, for example in API-only applications. Fixes solidusio#90.
- Loading branch information