mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 04:33:47 +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';
|
|
}
|
|
}
|