1
0
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:
Toby Zerner
2015-03-17 17:06:12 +10:30
parent 5055377eb1
commit 3880ce70f0
27 changed files with 508 additions and 72 deletions

View File

@@ -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);