Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap use of helper_method in respond_to? #92

Merged
merged 1 commit into from
May 22, 2017

Conversation

stewart
Copy link
Contributor

@stewart stewart commented May 22, 2017

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 #90.

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.
Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense 👍

@stewart stewart merged commit b83a244 into solidusio:master May 22, 2017
@stewart stewart deleted the fix/helper_method branch May 22, 2017 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants