Add must_verify_email feature.

This commit is contained in:
chiu committed 2024-09-21 22:27:23 +08:00
1 parent 6f96111d98
commit 591a7ff11f
10 files changed
+215 -100

No files matched your search

+1
View File
@@ -198,6 +198,7 @@ class Admin::AsksController < OrbitAdminController
.any_in(:situation => filter2("situation"))
end
@askquestions = @askquestions.where(:category_id=>category_id) if category_id
@askquestions = @askquestions.where(:is_hidden.ne=> true)
# 分頁
@askquestions = search_data(@askquestions,[:title]).page(params[:page]).per(10)
if request.xhr?