This commit is contained in:
BoHung Chiu 2022-10-25 08:37:30 +08:00
parent a8297c70b8
commit 817a2d9afd
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
class SurveysController < ApplicationController
helper MemberHelper
FrontendMethods = ["my_record", "show_data", "answer_success", "result"]
def index
questionnairesurveys = QuestionnaireSurvey.any_of( {:postdate.lte => Time.now} ).desc(:postdate).page(OrbitHelper.params[:page_no]).per(OrbitHelper.page_data_count)