mirror of
https://github.com/discourse/discourse.git
synced 2025-02-11 20:09:45 +08:00
20 lines
500 B
JavaScript
20 lines
500 B
JavaScript
import ObjectController from 'discourse/controllers/object';
|
|
|
|
/**
|
|
The basic controller for a group
|
|
|
|
@class GroupController
|
|
@extends ObjectController
|
|
@namespace Discourse
|
|
@module Discourse
|
|
**/
|
|
export default ObjectController.extend({
|
|
counts: null,
|
|
|
|
// It would be nice if bootstrap marked action lists as selected when their links
|
|
// were 'active' not the `li` tags.
|
|
showingIndex: Em.computed.equal('showing', 'index'),
|
|
showingMembers: Em.computed.equal('showing', 'members')
|
|
});
|
|
|