Skip to content

Commit

Permalink
feat: Updated app/helpers/pagination_helper.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Feb 3, 2024
1 parent b80e3a3 commit 2a50605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/pagination_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def custom_paginate_renderer(collection, options = {})

def link_to_previous_page(collection, options)
unless collection.first_page?
link_to 'Previous', url_for(page: collection.prev_page), class: options[:previous_class] || "prev-page"
link_to "Previous", url_for(page: collection.prev_page), class: options[:previous_class] || "prev-page"
end
end

Expand Down

0 comments on commit 2a50605

Please sign in to comment.