Last active
November 2, 2017 16:55
-
-
Save domagude/4e54bffb52e4680891918426e24f986a to your computer and use it in GitHub Desktop.
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
... | |
def category_field_partial_path | |
if params[:category].present? | |
'posts/branch/search_form/category_field' | |
else | |
'shared/empty_partial' | |
end | |
end | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment