mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 20:41:24 +08:00
FEATURE: Show FAQ at top of the hamburger until the user reads it
This commit is contained in:
@ -572,7 +572,7 @@ class UsersController < ApplicationController
|
||||
end
|
||||
|
||||
def read_faq
|
||||
if(user = current_user)
|
||||
if user = current_user
|
||||
user.user_stat.read_faq = 1.second.ago
|
||||
user.user_stat.save
|
||||
end
|
||||
|
Reference in New Issue
Block a user