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

Move OrdersHelper from Core to Frontend #2081

Merged
merged 2 commits into from
Jul 21, 2017

Conversation

fredericboivin
Copy link
Contributor

This allows us to remove core dependency on truncate_html and move frontend-specific methods into the solidus_frontend gem.

This commit moves the OrdersHelper module from core/ to frontend/. The
included methods (`order_just_completed` and
`truncated_product_description`) are fairly simple and used only in the
frontend. This also allows us to remove a core dependency on
`truncate_html`.
This library is only used on the OrdersHelper module that was moved to
frontend/ in the previous commmit.
Copy link
Member

@kennyadsl kennyadsl left a comment

Choose a reason for hiding this comment

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

Spec failure is not related to this change, it works for me, thanks! 👍

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.

👍 Thanks!

@tvdeyen tvdeyen merged commit bdab023 into solidusio:master Jul 21, 2017
@fredericboivin fredericboivin deleted the feature/truncate_html branch July 21, 2017 16:49
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.

4 participants