Last active
February 7, 2016 17:40
-
-
Save venkatd/761077095273193a3e9d 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
class Tasks < Roda | |
route do |r| | |
r.on 'tasks' do | |
authenticate! | |
r.get do | |
# ... | |
end | |
r.get ':id' do | |
# ... | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment