Fix lint nits

This commit is contained in:
Andreas Nedbal 2024-08-11 05:02:03 +02:00 committed by Andreas Nedbal
parent 7c475b5ff3
commit 8ad12c33a8
2 changed files with 4 additions and 4 deletions

View File

@ -2,10 +2,10 @@
class AboutController < ApplicationController
def index
if Retrospring::Config.advanced_frontpage_enabled?
return unless Retrospring::Config.advanced_frontpage_enabled?
render template: "about/index_advanced"
end
end
def about
@users = Rails.cache.fetch("about_count_users", expires_in: 1.hour) { user_count - current_ban_count }