mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-15 18:39:58 +01:00
we want to make POST requests here…
This commit is contained in:
parent
b65c60ea76
commit
9fad73341e
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ $(document).on "click", "button[name=qb-ask]", ->
|
|||
true
|
||||
$.ajax
|
||||
url: '/ajax/ask' # TODO: find a way to use rake routes instead of hardcoding them here
|
||||
type: 'POST'
|
||||
data:
|
||||
rcpt: $("input[name=qb-to]").val()
|
||||
question: $("textarea[name=qb-question]").val()
|
||||
|
|
Loading…
Reference in a new issue