Last active
November 1, 2017 08:52
-
-
Save domagude/2ce1fc697b585e185cb9f129d1221d5a 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 post_format_partial_path | |
current_page?(root_path) ? 'posts/post/home_page' : 'posts/post/branch_page' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment