mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 10:39:54 +01:00
Fix lint nits
This commit is contained in:
parent
7c475b5ff3
commit
8ad12c33a8
2 changed files with 4 additions and 4 deletions
|
@ -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 a new issue