Skip to content

Commit

Permalink
revert accidently push to master
Browse files Browse the repository at this point in the history
  • Loading branch information
olegphenomenon committed Jul 29, 2022
1 parent 83f1157 commit 1deb6fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/controllers/registrar/domains_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@ def index
end
end

@domains = @domains.per(params[:results_per_page]) if params[:results_per_page].to_i.positive?

respond_to do |format|
format.html
format.csv do
domain_presenters = []

@q.result.find_each do |domain|
@domains.find_each do |domain|
domain_presenters << ::DomainPresenter.new(domain: domain, view: view_context)
end

Expand Down

0 comments on commit 1deb6fa

Please sign in to comment.