diff --git a/app/controllers/public/room-forum.js b/app/controllers/public/room-forum.js new file mode 100644 index 000000000..955af82d5 --- /dev/null +++ b/app/controllers/public/room-forum.js @@ -0,0 +1,9 @@ +import FilterableAndSortableController from 'amber-ui/controllers/application/filterable-and-sortable'; +import { tracked } from '@glimmer/tracking'; + +export default class RoomForumController extends FilterableAndSortableController { + @tracked sortedAttribute = 'created_at'; + @tracked sortedAscending = false; + + queryParams = ['page', 'sort']; +}