mirror of
https://github.com/flarum/framework.git
synced 2025-02-26 15:29:41 +08:00

PhpStorm/WebStorm doesn't like the mixin syntax, and it's clearer to just use Object.assign.
9 lines
163 B
JavaScript
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';
|
|
}
|
|
}
|