Last active
November 12, 2017 18:48
-
-
Save domagude/b6f3bb95297d8a8c17ff5b16a2ea1fad 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 conversation_exist? | |
Private::Conversation.between_users(current_user.id, @post.user.id).present? | |
end | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment