mirror of
https://github.com/flarum/core.git
synced 2025-08-05 07:57:46 +02:00
Add user activity system
This commit is contained in:
@@ -7,6 +7,13 @@ import AlertMessage from 'flarum/components/ui/alert-message';
|
||||
export default JsonApiAdapter.extend({
|
||||
host: config.apiURL,
|
||||
|
||||
pathForType: function(type) {
|
||||
if (type == 'activity') {
|
||||
return type;
|
||||
}
|
||||
return this._super(type);
|
||||
},
|
||||
|
||||
ajaxError: function(jqXHR) {
|
||||
var errors = this._super(jqXHR);
|
||||
|
||||
|
Reference in New Issue
Block a user