Skip to content

Commit 30fca56

Browse files
committed
Merge pull request code-dot-org#5445 from code-dot-org/fix-review-method
Fix review method for class_review.haml
2 parents 4b429e4 + bdfeee5 commit 30fca56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pegasus/sites.v3/code.org/views/class_review.haml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
6363
function submitReview(review) {
6464
$.ajax({
65-
url: "/v2/forms/ClassSubmission/#{form.secret}",
66-
type: "review",
65+
url: "/v2/forms/ClassSubmission/#{form.secret}" + "/review",
66+
type: "post",
6767
contentType: "application/json; charset=utf-8",
6868
data: JSON.stringify( { review: review } ),
6969
success: function() {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy