Created
August 31, 2009 21:08
-
-
Save fedesoria/178711 to your computer and use it in GitHub Desktop.
ruby
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 owns?(user) | |
# Am I duplicating this? Does this exist somewhere? (paco) | |
# Where do you use it? (chubas) | |
# Are you free this weekend? (paco) | |
logged_in? && user == current_user | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment