Skip to content

Commit

Permalink
Include author in upcoming_meetings query
Browse files Browse the repository at this point in the history
  • Loading branch information
entantoencuanto committed Apr 5, 2022
1 parent 7e0db4c commit 66749a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def show

def upcoming_meetings
@upcoming_meetings ||= Decidim::Meetings::Meeting
.includes(component: :participatory_space)
.includes(:author, component: :participatory_space)
.where(component: meeting_components)
.visible_for(current_user)
.published
Expand Down

0 comments on commit 66749a4

Please sign in to comment.