Skip to content

Commit

Permalink
Reuse Decidim::Admin::Invites query for Conferences
Browse files Browse the repository at this point in the history
Suggested on code review
  • Loading branch information
andreslucena committed Sep 5, 2023
1 parent 1c16da6 commit bf9dea4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 61 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def index

@query = params[:q]
@status = params[:status]
@conference_invites = Decidim::Conferences::Admin::ConferenceInvites.for(current_participatory_space.conference_invites, @query, @status).page(params[:page]).per(15)
@conference_invites = Decidim::Admin::Invites.for(current_participatory_space.conference_invites, @query, @status).page(params[:page]).per(15)
end

def new
Expand Down

This file was deleted.

0 comments on commit bf9dea4

Please sign in to comment.