Skip to content

Implement deals pagination in contact show#599

Open
douglara wants to merge 1 commit intodevelopmentfrom
fix-contact-show-with-many-deals
Open

Implement deals pagination in contact show#599
douglara wants to merge 1 commit intodevelopmentfrom
fix-contact-show-with-many-deals

Conversation

@douglara
Copy link
Owner

screenrecording-2026-02-24_18-02-50.mp4

@github-actions
Copy link

Code Quality Reports

Report Link
Code Coverage View Report
RubyCritic - Changed Files View Report
RubyCritic - Full Codebase View Report

@pagy_deals, @deals = pagy(@contact.deals.order(created_at: :desc), items: 10, page_param: :deals_page)
respond_to do |format|
format.html
format.turbo_stream
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Responder no formato turbo_stream é necessário?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Responder no formato turbo_stream é necessário?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants