Fix lint nits
This commit is contained in:
parent
7c475b5ff3
commit
8ad12c33a8
|
@ -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 }
|
||||
|
|
Loading…
Reference in New Issue