FEATURE: Show FAQ at top of the hamburger until the user reads it

This commit is contained in:
Robin Ward
2015-09-04 16:56:02 -04:00
parent 5881f68556
commit 32e2d7963a
7 changed files with 54 additions and 21 deletions

View File

@ -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