Created
October 31, 2017 12:01
-
-
Save domagude/0c83f4381312b4112c8a07b1267c21dc 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 all_categories_button_partial_path | |
if params[:category].blank? | |
'posts/branch/categories/all_selected' | |
else | |
'posts/branch/categories/all_not_selected' | |
end | |
end | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment