Created
October 31, 2017 11:31
-
-
Save domagude/52b438ce49d64eaacf7734b276a1dfa3 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 create_new_post_partial_path | |
if user_signed_in? | |
'posts/branch/create_new_post/signed_in' | |
else | |
'posts/branch/create_new_post/not_signed_in' | |
end | |
end | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment