Created
September 2, 2014 04:54
-
-
Save trepidity/4ed9c149af8354d28073 to your computer and use it in GitHub Desktop.
jbuilder for projects
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
json.timeline do | |
json.headline "SoldierUP Projects" | |
json.type "default" | |
json.text "Stuff People Say" | |
json.startDate "2012,1,26" | |
json.date @projects do |project| | |
json.headline project.title | |
json.text project.description | |
json.startDate project.created_at | |
json.endDate project.due_date | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment