framework/js/lib/models/Forum.js
Toby Zerner e3569d39cc Clean up, don't use mixin
PhpStorm/WebStorm doesn't like the mixin syntax, and it's clearer to just use Object.assign.
2015-10-13 16:57:18 +10:30

9 lines
163 B
JavaScript

import Model from 'flarum/Model';
import mixin from 'flarum/utils/mixin';
export default class Forum extends Model {
apiEndpoint() {
return '/forum';
}
}