-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce duplication in FindersController & facet_collection
The facet_collection partial only ever uses the filterable facets, so we can avoid some duplication by selecting the filterable facets in FindersController#facets. However, there are a few callsites within the controller which use the full list of facets, so I've introduced a new `#all_facets` method to handle that without making it available as a view helper method.
- Loading branch information
1 parent
13fd220
commit 108e3ef
Showing
2 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters