Last active
June 19, 2016 12:32
-
-
Save codesword/3d6518dd5061fba0a89e35352967f71c to your computer and use it in GitHub Desktop.
Building An MVC Framework - Part 2
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
class TodolistController | |
def get | |
"['Write a book', 'Build a house', 'Get married', 'Buy a car']" | |
end | |
def get_first | |
"Write a book" | |
end | |
def post | |
"Post go swimming" | |
end | |
def put | |
"Put Write a book" | |
end | |
def delete | |
"Delete Write a book" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment