Class: SimpleTeams::TeamsController
- Inherits:
-
BaseController
- Object
- BaseController
- SimpleTeams::TeamsController
- Defined in:
- app/controllers/simple_teams/teams_controller.rb
Instance Method Summary collapse
Methods inherited from BaseController
Instance Method Details
#show ⇒ Object
5 6 7 8 9 10 |
# File 'app/controllers/simple_teams/teams_controller.rb', line 5 def show :read, @team @memberships = @team.memberships.joins(:member).order(:first_name) @invitations = @team.invitations.initial.order(:email) @memberships_and_invitations = @memberships.to_a + @invitations.to_a end |