Commit a071e152 by Your Name

remove comments for now, b/c they're just placeholders

parent ebd9502c
......@@ -6,10 +6,3 @@ put "#{APIPREFIX}/threads/:thread_id/unpin" do |thread_id|
unpin thread
end
put "#{APIPREFIX}/comments/:comment_id/pin" do |thread_id|
pin comment
end
put "#{APIPREFIX}/comments/:comment_id/unpin" do |thread_id|
unpin comment
end
\ No newline at end of file
......@@ -15,7 +15,6 @@ class Comment < Content
field :anonymous, type: Boolean, default: false
field :anonymous_to_peers, type: Boolean, default: false
field :at_position_list, type: Array, default: []
field :pinned, type: Boolean
index({author_id: 1, course_id: 1})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment