mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Tweaks to group pages.
This commit is contained in:
@@ -53,7 +53,7 @@ export default function(helpers) {
|
||||
this.get('/widgets/:widget_id', function(request) {
|
||||
const w = _widgets.findBy('id', parseInt(request.params.widget_id));
|
||||
if (w) {
|
||||
return response({widget: w});
|
||||
return response({ widget: w, extras: { hello: 'world' }});
|
||||
} else {
|
||||
return response(404);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user