improve code climate

pull/6061/head
Wieland Lindenthal 7 years ago
parent d962da7610
commit 8fdf4e3f02
  1. 10
      app/helpers/pagination_helper.rb

@ -40,12 +40,12 @@ module PaginationHelper
class: 'pagination--pages')
if pagination_options[:per_page_links]
options_links = pagination_settings(paginator,
pagination_options[:params]
.merge(safe_query_params(%w{filters sortBy expand})))
content << content_tag(:div,
pagination_settings(
paginator,
pagination_options[:params]
.merge(safe_query_params(%w{filters sortBy expand}))
),
options_links,
class: 'pagination--options')
end

Loading…
Cancel
Save