feat: add pagination parameters to weather arts

- Include region, country, state, and query parameters
  in the pagination helper for better filtering.
- This change enhances the user experience by allowing
  users to navigate through weather arts based on
  specific criteria, improving the relevance of the
  displayed results.
This commit is contained in:
songtianlun 2025-02-26 15:59:39 +08:00
parent df7fbcd118
commit 30508af344

View File

@ -166,7 +166,13 @@
<%= render 'shared/pagination',
collection: @weather_arts,
collection_name: 'weather arts' %>
collection_name: 'weather arts',
pagination_params: {
region: params[:region],
country: params[:country],
state: params[:state],
query: params[:query]
}%>
</div>
</div>
</div>