mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 03:31:13 +08:00
FEATURE: Custom orders for user fields
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user