Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
...
def leave_message_partial_path
if @message_has_been_sent
'posts/show/contact_user/already_in_touch'
else
'posts/show/contact_user/message_form'
end
end
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment