Skip to content

Commit

Permalink
Adding comments functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
annatangzhao committed Sep 17, 2016
1 parent 7a97c5b commit b2d4348
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@ NList.pem

###Password###
db/dbConnect/pw.js
server/routes/sendgrid-key.js
server/routes/sendgrid-key.js

###Floobits###
.flooignore
.floo
2 changes: 1 addition & 1 deletion client/components/home/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@

<input type="text" ng-model="title"/>
<input type="text" ng-model="comment"/>
<button ng-click="addComment(post.id, comment)">Comment</button>
<button ng-click="addComment(post.id, title, comment)">Comment</button>

<br>
<button ng-click="deletePost(post)">Delete</button>
Expand Down

0 comments on commit b2d4348

Please sign in to comment.