Skip to content

Commit

Permalink
hotfix to show all available groups (#156)
Browse files Browse the repository at this point in the history
* hotfix to show all available groups

* include group users so that add/remove button is performant
  • Loading branch information
afogel authored Jul 11, 2023
1 parent a32d346 commit 256375c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/standup_meeting_groups_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class StandupMeetingGroupsController < ApplicationController
before_action :set_standup_meeting_group, only: %i[edit update destroy]

def index
@standup_meeting_groups = policy_scope(StandupMeetingGroup).includes(:standup_meeting_groups_users)
@standup_meeting_groups = StandupMeetingGroup.includes(:standup_meeting_groups_users).all
end

def show
Expand Down

0 comments on commit 256375c

Please sign in to comment.