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

Remove unused admin helpers #2515

Merged
merged 6 commits into from
Jan 22, 2018

Conversation

jhawthorn
Copy link
Contributor

This removes several helpers from the admin which have not been used for a long time and I believe are unlikely to be used in extensions or stores.

This removes  taxon_options_for and option_types_options_for, which
haven't been used since 2012 (when their usage replaced with querying
the API)
The only method defined here, show_not, hasn't been used since 2013.
The only page using this was removed from solidus 1.0.
@jhawthorn jhawthorn added the changelog:solidus_backend Changes to the solidus_backend gem label Jan 18, 2018
The only method in here, sort_by_active_class, hasn't been used since
2012.
This hasn't been used since 2012, and was only ever used by other helper
methods (probably why it was private, though that doesn't really
restrict usage).
This hasn't been used since 2012, though an unused view which referenced
it was around until recently.

This method is badly named and is likely to confuse users. It looks like
a route method with the "_path" suffix, but it has a different idea of
what "path" means.
@jhawthorn jhawthorn force-pushed the remove_unused_helpers branch from 52caab5 to 639c657 Compare January 18, 2018 21:09
@jhawthorn jhawthorn merged commit 19f82fd into solidusio:master Jan 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_backend Changes to the solidus_backend gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants