Skip to content

Commit

Permalink
Merge branch 'develop' into demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Dolski committed Jan 25, 2024
2 parents 856027a + 91be18b commit 56d4572
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/index_pages_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ def show
pluck(:string)
@current_page = ((@start / @window.to_f).ceil + 1 if @window > 0) || 1
# This may give us a little performance boost
@starting_letters = Rails.cache.fetch("index_page_#{@index_page.id} starting_letters",
@starting_chars = Rails.cache.fetch("index_page_#{@index_page.id} starting_chars",
expires_in: 1.hour) do
starting_letters(reg_e_ids)
starting_chars(reg_e_ids)
end
else
@count = 0
Expand Down

0 comments on commit 56d4572

Please sign in to comment.