mirror of
https://github.com/flarum/framework.git
synced 2025-01-23 20:02:01 +08:00
11 lines
235 B
JavaScript
11 lines
235 B
JavaScript
import Model from 'flarum/Model';
|
|
import mixin from 'flarum/utils/mixin';
|
|
|
|
export default class Forum extends mixin(Model, {
|
|
canStartDiscussion: Model.attribute('canStartDiscussion')
|
|
}) {
|
|
apiEndpoint() {
|
|
return '/forum';
|
|
}
|
|
}
|