mirror of
https://github.com/discourse/discourse.git
synced 2025-09-08 12:06:51 +08:00
FEATURE: Custom orders for user fields
This commit is contained in:
parent
8e603503e6
commit
aa6f792ce1
16 changed files with 126 additions and 83 deletions
|
@ -249,6 +249,12 @@ export default function() {
|
|||
return response({ widget });
|
||||
});
|
||||
|
||||
this.put('/cool_things/:cool_thing_id', function(request) {
|
||||
const cool_thing = parsePostData(request.requestBody).cool_thing;
|
||||
return response({ cool_thing });
|
||||
});
|
||||
|
||||
|
||||
this.get('/widgets', function(request) {
|
||||
let result = _widgets;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue